Table of Contents

Class UsingDeclaration

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

using Import;

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

Constructors

UsingDeclaration()

public UsingDeclaration()

UsingDeclaration(AstType)

public UsingDeclaration(AstType import)

Parameters

import AstType

UsingDeclaration(string)

public UsingDeclaration(string nameSpace)

Parameters

nameSpace string

Fields

ImportRole

public static readonly Role<AstType> ImportRole

Field Value

Role<AstType>

UsingKeywordRole

public static readonly TokenRole UsingKeywordRole

Field Value

TokenRole

Properties

Import

public AstType Import { get; set; }

Property Value

AstType

Namespace

public string Namespace { get; }

Property Value

string

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