Прочетете на английски Редактиране

Споделяне чрез


SymWriter.OpenMethod(SymbolToken) Method

Definition

Opens a method in which to place symbol information.

C#
public override void OpenMethod(System.Diagnostics.SymbolStore.SymbolToken method);
C#
public virtual void OpenMethod(System.Diagnostics.SymbolStore.SymbolToken method);

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

Продукт Версии
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1