Bewerken

Share via


SymWriter.OpenMethod(SymbolToken) Method

Definition

Opens a method in which to place symbol information.

public:
 override void OpenMethod(System::Diagnostics::SymbolStore::SymbolToken method);
public:
 virtual void OpenMethod(System::Diagnostics::SymbolStore::SymbolToken method);
public override 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 Overrides Sub OpenMethod (method As SymbolToken)
Public Overridable Sub OpenMethod (method As SymbolToken)

Parameters

method
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