.NET Decompiler with support for PDB generation, ReadyToRun, Metadata (&more) - cross-platform!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

42 lines
1.2 KiB

// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
using System;
using System.Collections.Generic;
namespace ICSharpCode.SharpDevelop.Dom
{
/// <summary>
/// A scope that can contain using declarations.
/// In C#, every file is a using scope, and every "namespace" declaration inside
/// the file is a nested using scope.
/// </summary>
public interface IUsingScope : IFreezable
{
/// <summary>
/// Gets the region of the using scope.
/// </summary>
DomRegion Region { get; }
/// <summary>
/// Gets the parent scope.
/// Returns null if this is a root scope.
/// </summary>
IUsingScope Parent { get; }
/// <summary>
/// Gets the usings in this using scope.
/// </summary>
IList<IUsing> Usings { get; }
/// <summary>
/// Gets the list of child scopes. Child scopes usually represent "namespace" declarations.
/// </summary>
IList<IUsingScope> ChildScopes { get; }
/// <summary>
/// Gets the name of the namespace represented by the using scope.
/// </summary>
string NamespaceName { get; }
}
}