SymMethod.GetSequencePoints 메서드

정의

현재 메서드에 대한 시퀀스 위치를 가져오고 지정된 배열에 정보를 저장합니다.

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())

매개 변수

offsets
Int32[]

시퀀스 위치에 대한 메서드 시작 부분부터의 IL 오프셋을 저장할 배열입니다.

documents
ISymbolDocument[]

시퀀스 지점이 있는 문서를 저장할 배열입니다.

lines
Int32[]

시퀀스 위치가 있는 문서의 줄을 저장할 배열입니다.

columns
Int32[]

시퀀스 위치가 있는 문서의 열을 저장할 배열입니다.

endLines
Int32[]

시퀀스 위치가 끝나는 문서의 줄 배열입니다.

endColumns
Int32[]

시퀀스 위치가 끝나는 문서의 열 배열입니다.

구현

설명

시퀀스 지점은 원본 파일 위치와 IL 오프셋 간에 매핑하는 데 사용됩니다. 각 시퀀스 지점은 IL 오프셋과 개체를 기준으로 시작 및 끝 줄/열 번호로 지정된 원본 파일 영역으로 ISymbolDocument 구성됩니다. 모든 배열의 특정 인덱스에 있는 각 요소는 특정 시퀀스 지점에 해당합니다. 호출자는 반환할 정보를 보유하기 위해 미리 할당된 배열을 제공해야 합니다. 배열의 모든 값을 덮어씁니다. 를 사용하여 SequencePointCount 모든 시퀀스 지점의 수를 검색하고 적절한 크기의 배열을 만듭니다. 시퀀스 지점은 오프셋별로 정렬되며 메서드의 모든 문서에 대해 정렬됩니다. GetSequencePoints 는 각 배열의 크기를 확인하고 시퀀스 지점 정보를 각각에 배치합니다. 배열이 이 null면 해당 배열의 데이터가 반환되지 않습니다.

적용 대상