SymMethod.GetSequencePoints Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the sequence points for the current method and stores the information in the specified arrays.
public:
override void GetSequencePoints(cli::array <int> ^ offsets, cli::array <System::Diagnostics::SymbolStore::ISymbolDocument ^> ^ documents, cli::array <int> ^ lines, cli::array <int> ^ columns, cli::array <int> ^ endLines, cli::array <int> ^ endColumns);
public:
virtual void GetSequencePoints(cli::array <int> ^ offsets, cli::array <System::Diagnostics::SymbolStore::ISymbolDocument ^> ^ documents, cli::array <int> ^ lines, cli::array <int> ^ columns, cli::array <int> ^ endLines, cli::array <int> ^ endColumns);
public override void GetSequencePoints (int[] offsets, System.Diagnostics.SymbolStore.ISymbolDocument[] documents, int[] lines, int[] columns, int[] endLines, int[] endColumns);
public virtual void GetSequencePoints (int[] offsets, System.Diagnostics.SymbolStore.ISymbolDocument[] documents, int[] lines, int[] columns, int[] endLines, int[] endColumns);
abstract member GetSequencePoints : int[] * System.Diagnostics.SymbolStore.ISymbolDocument[] * int[] * int[] * int[] * int[] -> unit
override this.GetSequencePoints : int[] * System.Diagnostics.SymbolStore.ISymbolDocument[] * int[] * int[] * int[] * int[] -> unit
Public Overrides Sub GetSequencePoints (offsets As Integer(), documents As ISymbolDocument(), lines As Integer(), columns As Integer(), endLines As Integer(), endColumns As Integer())
Public Overridable Sub GetSequencePoints (offsets As Integer(), documents As ISymbolDocument(), lines As Integer(), columns As Integer(), endLines As Integer(), endColumns As Integer())
Parameters
- offsets
- Int32[]
An array in which to store the IL offsets from the beginning of the method for the sequence points.
- documents
- ISymbolDocument[]
An array in which to store the documents in which the sequence points are located.
- lines
- Int32[]
An array in which to store the lines in the documents at which the sequence points are located.
- columns
- Int32[]
An array in which to store the columns in the documents at which the sequence points are located.
- endLines
- Int32[]
The array of lines in the documents at which the sequence points end.
- endColumns
- Int32[]
The array of columns in the documents at which the sequence points end.
Implements
Remarks
Sequence points are used to map between source file locations and IL offsets. Each sequence point consists of an IL offset, and source file region specified by start and end line/column numbers relative to an ISymbolDocument object. Each element at a specific index of every array corresponds to a specific sequence point. The caller must supply pre-allocated arrays to hold the information to be returned. Any values in the arrays are overwritten. Use SequencePointCount to retrieve the count of all sequence points and create arrays of the proper size. The sequence points are sorted by offset and are for all documents in the method. GetSequencePoints verifies the size of each array and places the sequence point information into each. If any array is null
, the data for that array is not returned.