System.Diagnostics.SymbolStore.ISymbolWriter.OpenMethod Method

Opens a method to place symbol information into.

Syntax

public void OpenMethod (SymbolToken method)

Parameters

method
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.

Requirements

Namespace: System.Diagnostics.SymbolStore
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0