ISymbolWriter.CloseScope(Int32) Método

Definição

Fecha o escopo léxico atual.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)

Parâmetros

endOffset
Int32

Os pontos após a última instrução no escopo.The points past the last instruction in the scope.

Comentários

Depois que um escopo é fechado, não é possível definir uma variável de dentro dele.After a scope is closed, you cannot define a variable from within it.

Aplica-se a