SymWriter.DefineSequencePoints(ISymbolDocumentWriter, Int32[], Int32[], Int32[], Int32[], Int32[]) Método
Definição
Define um grupo de pontos de sequência dentro do método atual.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())
Parâmetros
- document
- ISymbolDocumentWriter
O objeto de documento para o qual os pontos de sequência estão sendo definidos.The document object for which the sequence points are being defined.
- offsets
- Int32[]
O deslocamento de IL dos pontos de sequência, medidos a partir do início do método.The IL offset of the sequence points measured from the beginning of the method.
- lines
- Int32[]
Os números de linha iniciais dos pontos de sequência.The starting line numbers of the sequence points.
- columns
- Int32[]
Os números de coluna iniciais dos pontos de sequência.The starting column numbers of the sequence points.
- endLines
- Int32[]
Os números de linha finais dos pontos de sequência.The ending line numbers of the sequence points.
- endColumns
- Int32[]
Os números da coluna finais dos pontos de sequência.The ending column numbers of the sequence points.
Implementações
Comentários
Os pontos de sequência são usados para mapear entre os locais do arquivo de origem e os deslocamentos de IL.Sequence points are used to map between source file locations and IL offsets. Cada ponto de sequência consiste em um deslocamento de IL e uma região de arquivo de origem, especificados pelos números de linha inicial e final de coluna e em relação a um ISymbolDocument objeto.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. Cada elemento em um índice específico de cada matriz corresponde a um ponto de sequência específico.Each element at a specific index of every array corresponds to a specific sequence point. Cada linha e cada coluna definem o início de uma instrução dentro de um método.Each line and each column defines the start of a statement within a method. As matrizes devem ser classificadas na ordem crescente de deslocamentos.The arrays should be sorted in the increasing order of offsets. O deslocamento é sempre o deslocamento do início do método, em bytes.The offset is always the offset from the start of the method, in bytes.