ISymbolWriter.CloseScope(Int32) 方法

定义

关闭当前词法范围。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)

参数

endOffset
Int32

越过范围中最后一个指令的点。The points past the last instruction in the scope.

注解

范围关闭后,不能在其中定义变量。After a scope is closed, you cannot define a variable from within it.

适用于