ISymbolWriter.CloseScope(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Closes the current lexical scope.
public:
void CloseScope(int endOffset);
public void CloseScope (int endOffset);
abstract member CloseScope : int -> unit
Public Sub CloseScope (endOffset As Integer)
Parameters
- endOffset
- Int32
The points past the last instruction in the scope.
Remarks
After a scope is closed, you cannot define a variable from within it.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.