Files
Dec2017-Script-Dump/mscorlib/System/Diagnostics/SymbolStore/ISymbolDocument.cs
T
2026-06-04 11:42:34 +02:00

74 lines
3.0 KiB
C#

using System;
using System.Runtime.InteropServices;
namespace System.Diagnostics.SymbolStore
{
/// <summary>Represents a document referenced by a symbol store.</summary>
// Token: 0x0200014D RID: 333
[ComVisible(true)]
public interface ISymbolDocument
{
/// <summary>Gets the checksum algorithm identifier.</summary>
/// <returns>A GUID identifying the checksum algorithm. The value is all zeros, if there is no checksum.</returns>
// Token: 0x170002D0 RID: 720
// (get) Token: 0x060010D7 RID: 4311
Guid CheckSumAlgorithmId { get; }
/// <summary>Gets the type of the current document.</summary>
/// <returns>The type of the current document.</returns>
// Token: 0x170002D1 RID: 721
// (get) Token: 0x060010D8 RID: 4312
Guid DocumentType { get; }
/// <summary>Checks whether the current document is stored in the symbol store.</summary>
/// <returns>true if the current document is stored in the symbol store; otherwise, false.</returns>
// Token: 0x170002D2 RID: 722
// (get) Token: 0x060010D9 RID: 4313
bool HasEmbeddedSource { get; }
/// <summary>Gets the language of the current document.</summary>
/// <returns>The language of the current document.</returns>
// Token: 0x170002D3 RID: 723
// (get) Token: 0x060010DA RID: 4314
Guid Language { get; }
/// <summary>Gets the language vendor of the current document.</summary>
/// <returns>The language vendor of the current document.</returns>
// Token: 0x170002D4 RID: 724
// (get) Token: 0x060010DB RID: 4315
Guid LanguageVendor { get; }
/// <summary>Gets the length, in bytes, of the embedded source.</summary>
/// <returns>The source length of the current document.</returns>
// Token: 0x170002D5 RID: 725
// (get) Token: 0x060010DC RID: 4316
int SourceLength { get; }
/// <summary>Gets the URL of the current document.</summary>
/// <returns>The URL of the current document.</returns>
// Token: 0x170002D6 RID: 726
// (get) Token: 0x060010DD RID: 4317
string URL { get; }
/// <summary>Returns the closest line that is a sequence point, given a line in the current document that might or might not be a sequence point.</summary>
/// <returns>The closest line that is a sequence point.</returns>
/// <param name="line">The specified line in the document. </param>
// Token: 0x060010DE RID: 4318
int FindClosestLine(int line);
/// <summary>Gets the checksum.</summary>
/// <returns>The checksum.</returns>
// Token: 0x060010DF RID: 4319
byte[] GetCheckSum();
/// <summary>Gets the embedded document source for the specified range.</summary>
/// <returns>The document source for the specified range.</returns>
/// <param name="startLine">The starting line in the current document. </param>
/// <param name="startColumn">The starting column in the current document. </param>
/// <param name="endLine">The ending line in the current document. </param>
/// <param name="endColumn">The ending column in the current document. </param>
// Token: 0x060010E0 RID: 4320
byte[] GetSourceRange(int startLine, int startColumn, int endLine, int endColumn);
}
}