Bewerken

Share via


SymWriter.DefineSequencePoints Method

Definition

Defines a group of sequence points within the current method.

public:
 override void DefineSequencePoints(System::Diagnostics::SymbolStore::ISymbolDocumentWriter ^ document, cli::array <int> ^ offsets, cli::array <int> ^ lines, cli::array <int> ^ columns, cli::array <int> ^ endLines, cli::array <int> ^ endColumns);
public:
 virtual void DefineSequencePoints(System::Diagnostics::SymbolStore::ISymbolDocumentWriter ^ document, cli::array <int> ^ offsets, cli::array <int> ^ lines, cli::array <int> ^ columns, cli::array <int> ^ endLines, cli::array <int> ^ endColumns);
public override void DefineSequencePoints (System.Diagnostics.SymbolStore.ISymbolDocumentWriter document, int[] offsets, int[] lines, int[] columns, int[] endLines, int[] endColumns);
public virtual void DefineSequencePoints (System.Diagnostics.SymbolStore.ISymbolDocumentWriter document, int[] offsets, int[] lines, int[] columns, int[] endLines, int[] endColumns);
abstract member DefineSequencePoints : System.Diagnostics.SymbolStore.ISymbolDocumentWriter * int[] * int[] * int[] * int[] * int[] -> unit
override this.DefineSequencePoints : System.Diagnostics.SymbolStore.ISymbolDocumentWriter * int[] * int[] * int[] * int[] * int[] -> unit
Public Overrides Sub DefineSequencePoints (document As ISymbolDocumentWriter, offsets As Integer(), lines As Integer(), columns As Integer(), endLines As Integer(), endColumns As Integer())
Public Overridable Sub DefineSequencePoints (document As ISymbolDocumentWriter, offsets As Integer(), lines As Integer(), columns As Integer(), endLines As Integer(), endColumns As Integer())

Parameters

document
ISymbolDocumentWriter

The document object for which the sequence points are being defined.

offsets
Int32[]

The IL offset of the sequence points measured from the beginning of the method.

lines
Int32[]

The starting line numbers of the sequence points.

columns
Int32[]

The starting column numbers of the sequence points.

endLines
Int32[]

The ending line numbers of the sequence points.

endColumns
Int32[]

The ending column numbers of the sequence points.

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. Each line and each column defines the start of a statement within a method. The arrays should be sorted in the increasing order of offsets. The offset is always the offset from the start of the method, in bytes.

Applies to