Redigera

Dela via


ISymbolWriter.OpenMethod(SymbolToken) Method

Definition

Opens a method to place symbol information into.

public:
 void OpenMethod(System::Diagnostics::SymbolStore::SymbolToken method);
public void OpenMethod (System.Diagnostics.SymbolStore.SymbolToken method);
abstract member OpenMethod : System.Diagnostics.SymbolStore.SymbolToken -> unit
Public Sub OpenMethod (method As SymbolToken)

Parameters

method
SymbolToken

The metadata token for the method to be opened.

Remarks

The specified method becomes the current method for calls to define sequence points, parameters, and lexical scopes. There is an implicit lexical scope around the entire method. Reopening a method that has been previously closed erases any previously defined symbols for the method.

Applies to