System.Diagnostics.SymbolStore.ISymbolWriter.CloseScope Method

Closes the current lexical scope.

Syntax

public void CloseScope (int endOffset)

Parameters

endOffset
The points past the last instruction in the scope.

Remarks

After a scope is closed, you cannot define a variable from within it.

Requirements

Namespace: System.Diagnostics.SymbolStore
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0