scripts
This commit is contained in:
@@ -0,0 +1,79 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace System.Diagnostics.SymbolStore
|
||||
{
|
||||
/// <summary>Represents a method within a symbol store.</summary>
|
||||
// Token: 0x0200014F RID: 335
|
||||
[ComVisible(true)]
|
||||
public interface ISymbolMethod
|
||||
{
|
||||
/// <summary>Gets the root lexical scope for the current method. This scope encloses the entire method.</summary>
|
||||
/// <returns>The root lexical scope that encloses the entire method.</returns>
|
||||
// Token: 0x170002D7 RID: 727
|
||||
// (get) Token: 0x060010E3 RID: 4323
|
||||
ISymbolScope RootScope { get; }
|
||||
|
||||
/// <summary>Gets a count of the sequence points in the method.</summary>
|
||||
/// <returns>The count of the sequence points in the method.</returns>
|
||||
// Token: 0x170002D8 RID: 728
|
||||
// (get) Token: 0x060010E4 RID: 4324
|
||||
int SequencePointCount { get; }
|
||||
|
||||
/// <summary>Gets the <see cref="T:System.Diagnostics.SymbolStore.SymbolToken" /> containing the metadata for the current method.</summary>
|
||||
/// <returns>The metadata token for the current method.</returns>
|
||||
// Token: 0x170002D9 RID: 729
|
||||
// (get) Token: 0x060010E5 RID: 4325
|
||||
SymbolToken Token { get; }
|
||||
|
||||
/// <summary>Gets the namespace that the current method is defined within.</summary>
|
||||
/// <returns>The namespace that the current method is defined within.</returns>
|
||||
// Token: 0x060010E6 RID: 4326
|
||||
ISymbolNamespace GetNamespace();
|
||||
|
||||
/// <summary>Gets the Microsoft intermediate language (MSIL) offset within the method that corresponds to the specified position.</summary>
|
||||
/// <returns>The offset within the specified document.</returns>
|
||||
/// <param name="document">The document for which the offset is requested. </param>
|
||||
/// <param name="line">The document line corresponding to the offset. </param>
|
||||
/// <param name="column">The document column corresponding to the offset. </param>
|
||||
// Token: 0x060010E7 RID: 4327
|
||||
int GetOffset(ISymbolDocument document, int line, int column);
|
||||
|
||||
/// <summary>Gets the parameters for the current method.</summary>
|
||||
/// <returns>The array of parameters for the current method.</returns>
|
||||
// Token: 0x060010E8 RID: 4328
|
||||
ISymbolVariable[] GetParameters();
|
||||
|
||||
/// <summary>Gets an array of start and end offset pairs that correspond to the ranges of Microsoft intermediate language (MSIL) that a given position covers within this method.</summary>
|
||||
/// <returns>An array of start and end offset pairs.</returns>
|
||||
/// <param name="document">The document for which the offset is requested. </param>
|
||||
/// <param name="line">The document line corresponding to the ranges. </param>
|
||||
/// <param name="column">The document column corresponding to the ranges. </param>
|
||||
// Token: 0x060010E9 RID: 4329
|
||||
int[] GetRanges(ISymbolDocument document, int line, int column);
|
||||
|
||||
/// <summary>Returns the most enclosing lexical scope when given an offset within a method.</summary>
|
||||
/// <returns>The most enclosing lexical scope for the given byte offset within the method.</returns>
|
||||
/// <param name="offset">The byte offset within the method of the lexical scope. </param>
|
||||
// Token: 0x060010EA RID: 4330
|
||||
ISymbolScope GetScope(int offset);
|
||||
|
||||
/// <summary>Gets the sequence points for the current method.</summary>
|
||||
/// <param name="offsets">The array of byte offsets from the beginning of the method for the sequence points. </param>
|
||||
/// <param name="documents">The array of documents in which the sequence points are located. </param>
|
||||
/// <param name="lines">The array of lines in the documents at which the sequence points are located. </param>
|
||||
/// <param name="columns">The array of columns in the documents at which the sequence points are located. </param>
|
||||
/// <param name="endLines">The array of lines in the documents at which the sequence points end. </param>
|
||||
/// <param name="endColumns">The array of columns in the documents at which the sequence points end. </param>
|
||||
// Token: 0x060010EB RID: 4331
|
||||
void GetSequencePoints(int[] offsets, ISymbolDocument[] documents, int[] lines, int[] columns, int[] endLines, int[] endColumns);
|
||||
|
||||
/// <summary>Gets the start and end positions for the source of the current method.</summary>
|
||||
/// <returns>true if the positions were defined; otherwise, false.</returns>
|
||||
/// <param name="docs">The starting and ending source documents. </param>
|
||||
/// <param name="lines">The starting and ending lines in the corresponding source documents. </param>
|
||||
/// <param name="columns">The starting and ending columns in the corresponding source documents. </param>
|
||||
// Token: 0x060010EC RID: 4332
|
||||
bool GetSourceStartEnd(ISymbolDocument[] docs, int[] lines, int[] columns);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user