SymWriter.OpenMethod(SymbolToken) SymWriter.OpenMethod(SymbolToken) SymWriter.OpenMethod(SymbolToken) SymWriter.OpenMethod(SymbolToken) Method

Definition

Opens a method in which to place symbol information.

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

Parameters

method
SymbolToken SymbolToken SymbolToken SymbolToken

The metadata token for the method to be opened.

Implements

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