C# Class ICSharpCode.NRefactory.CSharp.TypeSystem.UsingScope

Inheritance: AbstractFreezable
Show file Open project: 0xd4d/NRefactory Class Usage Examples

Public Methods

Method Description
HasAlias ( string identifier ) : bool

Gets whether this using scope has an alias (either using or extern) with the specified name.

Resolve ( ICompilation compilation ) : ICSharpCode.NRefactory.CSharp.TypeSystem.ResolvedUsingScope

Resolves the namespace represented by this using scope.

UsingScope ( ) : System

Creates a new root using scope.

UsingScope ( UsingScope parent, string shortName ) : System

Creates a new nested using scope.

Protected Methods

Method Description
FreezeInternal ( ) : void

Method Details

FreezeInternal() protected method

protected FreezeInternal ( ) : void
return void

HasAlias() public method

Gets whether this using scope has an alias (either using or extern) with the specified name.
public HasAlias ( string identifier ) : bool
identifier string
return bool

Resolve() public method

Resolves the namespace represented by this using scope.
public Resolve ( ICompilation compilation ) : ICSharpCode.NRefactory.CSharp.TypeSystem.ResolvedUsingScope
compilation ICompilation
return ICSharpCode.NRefactory.CSharp.TypeSystem.ResolvedUsingScope

UsingScope() public method

Creates a new root using scope.
public UsingScope ( ) : System
return System

UsingScope() public method

Creates a new nested using scope.
public UsingScope ( UsingScope parent, string shortName ) : System
parent UsingScope The parent using scope.
shortName string The short namespace name.
return System