51 lines
2.1 KiB
C#
51 lines
2.1 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
|
|
namespace System.Diagnostics.SymbolStore
|
|
{
|
|
/// <summary>Represents a lexical scope within <see cref="T:System.Diagnostics.SymbolStore.ISymbolMethod" />, providing access to the start and end offsets of the scope, as well as its child and parent scopes.</summary>
|
|
// Token: 0x02000152 RID: 338
|
|
[ComVisible(true)]
|
|
public interface ISymbolScope
|
|
{
|
|
/// <summary>Gets the end offset of the current lexical scope.</summary>
|
|
/// <returns>The end offset of the current lexical scope.</returns>
|
|
// Token: 0x170002DC RID: 732
|
|
// (get) Token: 0x060010FA RID: 4346
|
|
int EndOffset { get; }
|
|
|
|
/// <summary>Gets the method that contains the current lexical scope.</summary>
|
|
/// <returns>The method that contains the current lexical scope.</returns>
|
|
// Token: 0x170002DD RID: 733
|
|
// (get) Token: 0x060010FB RID: 4347
|
|
ISymbolMethod Method { get; }
|
|
|
|
/// <summary>Gets the parent lexical scope of the current scope.</summary>
|
|
/// <returns>The parent lexical scope of the current scope.</returns>
|
|
// Token: 0x170002DE RID: 734
|
|
// (get) Token: 0x060010FC RID: 4348
|
|
ISymbolScope Parent { get; }
|
|
|
|
/// <summary>Gets the start offset of the current lexical scope.</summary>
|
|
/// <returns>The start offset of the current lexical scope.</returns>
|
|
// Token: 0x170002DF RID: 735
|
|
// (get) Token: 0x060010FD RID: 4349
|
|
int StartOffset { get; }
|
|
|
|
/// <summary>Gets the child lexical scopes of the current lexical scope.</summary>
|
|
/// <returns>The child lexical scopes that of the current lexical scope.</returns>
|
|
// Token: 0x060010FE RID: 4350
|
|
ISymbolScope[] GetChildren();
|
|
|
|
/// <summary>Gets the local variables within the current lexical scope.</summary>
|
|
/// <returns>The local variables within the current lexical scope.</returns>
|
|
// Token: 0x060010FF RID: 4351
|
|
ISymbolVariable[] GetLocals();
|
|
|
|
/// <summary>Gets the namespaces that are used within the current scope.</summary>
|
|
/// <returns>The namespaces that are used within the current scope.</returns>
|
|
// Token: 0x06001100 RID: 4352
|
|
ISymbolNamespace[] GetNamespaces();
|
|
}
|
|
}
|