Table of Contents

Class TypeOfExpression

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

typeof(Type)

public class TypeOfExpression : Expression, IAnnotatable, IFreezable, INode, ICloneable
Inheritance
TypeOfExpression
Implements
Inherited Members
Extension Methods

Constructors

TypeOfExpression()

public TypeOfExpression()

TypeOfExpression(AstType)

public TypeOfExpression(AstType type)

Parameters

type AstType

Fields

TypeofKeywordRole

public static readonly TokenRole TypeofKeywordRole

Field Value

TokenRole

Properties

LParToken

public CSharpTokenNode LParToken { get; }

Property Value

CSharpTokenNode

RParToken

public CSharpTokenNode RParToken { get; }

Property Value

CSharpTokenNode

Type

public AstType Type { get; set; }

Property Value

AstType

TypeOfToken

public CSharpTokenNode TypeOfToken { 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