NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ISymbolWriter.OpenMethod

Opens a method to emit symbol information into.

[Visual Basic]
Sub OpenMethod( _
   ByVal method As SymbolToken _
)
[C#]
void OpenMethod(
   SymbolToken method
);
[C++]
void OpenMethod(
   SymbolToken method
) = 0;
[JScript]
function OpenMethod(
   method : SymbolToken
);

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 effectively erases any previously defined symbols for the method.

See Also

ISymbolWriter Interface | ISymbolWriter Members | System.Diagnostics.SymbolStore Namespace