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!

ISymbolMethod Members

Properties

RootScope Gets the root lexical scope for the current method. This scope encloses the entire method.
SequencePointCount Gets the count of the sequence points in the method.
Token Gets the metadata token for the current method.

Methods

GetNamespace Gets the namespace that the current method is defined within.
GetOffset Gets the offset within the method that corresponds to the specified position.
GetParameters Gets the parameters for the current method.
GetRanges Given a position in a document, get an array of start/end offset pairs that correspond to the ranges of IL that the position covers within this method. The array is an array of integers and is [start, end, start, end]. The number of range pairs is the length of the array divided by 2.
GetScope Given an offset within the method, returns the most enclosing lexical scope.
GetSequencePoints Get the sequence points for the current method.
GetSourceStartEnd Get the start and end positions for the source of the current method.

See Also

ISymbolMethod Interface | System.Diagnostics.SymbolStore Namespace