SymReader.GetMethod Method

Definition

Gets a symbol reader method object.

Overloads

GetMethod(SymbolToken)

Gets a symbol reader method object when given the identifier of a method.

GetMethod(SymbolToken, Int32)

Gets a symbol reader method object when given the identifier of a method and its edit and continue version.

GetMethod(SymbolToken)

Gets a symbol reader method object when given the identifier of a method.

C#
public override System.Diagnostics.SymbolStore.ISymbolMethod GetMethod(System.Diagnostics.SymbolStore.SymbolToken method);
C#
public virtual System.Diagnostics.SymbolStore.ISymbolMethod GetMethod(System.Diagnostics.SymbolStore.SymbolToken method);

Parameters

method
SymbolToken

The metadata token of the method.

Returns

The symbol reader method object for the specified method identifier.

Implements

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.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

GetMethod(SymbolToken, Int32)

Gets a symbol reader method object when given the identifier of a method and its edit and continue version.

C#
public override System.Diagnostics.SymbolStore.ISymbolMethod GetMethod(System.Diagnostics.SymbolStore.SymbolToken method, int version);
C#
public virtual System.Diagnostics.SymbolStore.ISymbolMethod GetMethod(System.Diagnostics.SymbolStore.SymbolToken method, int version);

Parameters

method
SymbolToken

The metadata token of the method.

version
Int32

The edit and continue version of the method.

Returns

The symbol reader method object for the specified method identifier and version.

Implements

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.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