Ask Learn
Preview
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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())
An array in which to store the IL offsets from the beginning of the method for the sequence points.
An array in which to store the documents in which the sequence points are located.
An array in which to store the lines in the documents at which the sequence points are located.
An array in which to store the columns in the documents at which the sequence points are located.
The array of lines in the documents at which the sequence points end.
The array of columns in the documents at which the sequence points end.
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.
| Product | Versions |
|---|---|
| .NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback:
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign in