// dnlib: See LICENSE.txt for more info
using System.Collections.Generic;
namespace dnlib.DotNet.Pdb.Symbols {
///
/// A scope
///
public abstract class SymbolScope {
///
/// Gets the method
///
public abstract SymbolMethod Method { get; }
///
/// Gets the parent scope
///
public abstract SymbolScope Parent { get; }
///
/// Gets the start offset of the scope in the method
///
public abstract int StartOffset { get; }
///
/// Gets the end offset of the scope in the method
///
public abstract int EndOffset { get; }
///
/// Gets all child scopes
///
public abstract IList Children { get; }
///
/// Gets all locals defined in this scope
///
public abstract IList Locals { get; }
///
/// Gets all namespaces in this scope
///
public abstract IList Namespaces { get; }
///
/// Gets all custom debug infos
///
public abstract IList CustomDebugInfos { get; }
///
/// Gets the import scope or null if none
///
public abstract PdbImportScope ImportScope { get; }
///
/// Gets all the constants
///
/// Owner module if a signature must be read from the #Blob
/// Generic parameter context
///
public abstract IList GetConstants(ModuleDef module, GenericParamContext gpContext);
}
}