SymMethod Class
Updated: March 13, 2015
Represents a method within a symbol store.
Assembly: ISymWrapper (in ISymWrapper.dll)
System.Diagnostics.SymbolStore::SymMethodBase
System.Diagnostics.SymbolStore::SymMethod
| Name | Description | |
|---|---|---|
![]() | RootScope | Gets the root lexical scope for the current method. This scope encloses the entire method. |
![]() | SequencePointCount | Gets a count of the sequence points in the method. |
![]() | Token | Gets the SymbolToken containing the metadata for the current method. |
| Name | Description | |
|---|---|---|
![]() | {dtor}() | Releases the resources held by the current instance. (Inherited from SymMethodBase.) |
![]() | Dispose() | Releases the resources used by the current instance of the SymMethod class. |
![]() | Dispose(Boolean) | |
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Releases unmanaged resources and performs other cleanup operations before the SymMethod is reclaimed by garbage collection.(Overrides Object::Finalize().) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetNamespace() | Throws a NotSupportedException in all cases. |
![]() | GetOffset(ISymbolDocument^, Int32, Int32) | Gets the Microsoft intermediate language (MSIL) offset within the method that corresponds to the specified position. |
![]() | GetParameters() | Gets the parameters for the current method. |
![]() | GetRanges(ISymbolDocument^, Int32, Int32) | Gets an array of start and end offset pairs that correspond to the ranges of Microsoft intermediate language (MSIL) offsets that a given position covers within this method. |
![]() | GetScope(Int32) | Returns the most enclosing lexical scope corresponding to an offset within a method. |
![]() | GetSequencePoints(array<Int32>^, array<ISymbolDocument^>^, array<Int32>^, array<Int32>^, array<Int32>^, array<Int32>^) | Gets the sequence points for the current method and stores the information in the specified arrays. |
![]() | GetSourceStartEnd(array<ISymbolDocument^>^, array<Int32>^, array<Int32>^) | Throws a NotSupportedException in all cases. |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | RootScopeInternal() | Gets the root lexical scope for the current method. This scope encloses the entire method. |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
The SymMethod class provides access only to the symbol-related attributes of a method, such as sequence points, lexical scopes, and parameter information. Use the System.Reflection classes to read the type-related attributes of a method.
Available since 1.1
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


