Table of Contents

Class UsingAliasDeclaration

Namespace
ICSharpCode.Decompiler.CSharp.Syntax
Assembly
ICSharpCode.Decompiler.dll

using Alias = Import;

public class UsingAliasDeclaration : AstNode, IAnnotatable, IFreezable, INode, ICloneable
Inheritance
UsingAliasDeclaration
Implements
Inherited Members
Extension Methods

Constructors

UsingAliasDeclaration()

public UsingAliasDeclaration()

UsingAliasDeclaration(string, AstType)

public UsingAliasDeclaration(string alias, AstType import)

Parameters

alias string
import AstType

UsingAliasDeclaration(string, string)

public UsingAliasDeclaration(string alias, string nameSpace)

Parameters

alias string
nameSpace string

Fields

AliasRole

public static readonly Role<Identifier> AliasRole

Field Value

Role<Identifier>

ImportRole

public static readonly Role<AstType> ImportRole

Field Value

Role<AstType>

UsingKeywordRole

public static readonly TokenRole UsingKeywordRole

Field Value

TokenRole

Properties

Alias

public string Alias { get; set; }

Property Value

string

AssignToken

public CSharpTokenNode AssignToken { get; }

Property Value

CSharpTokenNode

Import

public AstType Import { get; set; }

Property Value

AstType

NodeType

public override NodeType NodeType { get; }

Property Value

NodeType

SemicolonToken

public CSharpTokenNode SemicolonToken { get; }

Property Value

CSharpTokenNode

UsingToken

public CSharpTokenNode UsingToken { get; }

Property Value

CSharpTokenNode

Methods

AcceptVisitor(IAstVisitor)

public override void AcceptVisitor(IAstVisitor visitor)

Parameters

visitor IAstVisitor

AcceptVisitor<T>(IAstVisitor<T>)

public override T AcceptVisitor<T>(IAstVisitor<T> visitor)

Parameters

visitor IAstVisitor<T>

Returns

T

Type Parameters

T

AcceptVisitor<T, S>(IAstVisitor<T, S>, T)

public override S AcceptVisitor<T, S>(IAstVisitor<T, S> visitor, T data)

Parameters

visitor IAstVisitor<T, S>
data T

Returns

S

Type Parameters

T
S

DoMatch(AstNode, Match)

protected override bool DoMatch(AstNode other, Match match)

Parameters

other AstNode
match Match

Returns

bool