Table of Contents

Class LambdaExpression

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

[async] Parameters => Body

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

Constructors

LambdaExpression()

public LambdaExpression()

Fields

AsyncModifierRole

public static readonly TokenRole AsyncModifierRole

Field Value

TokenRole

AttributeRole

public static readonly Role<AttributeSection> AttributeRole

Field Value

Role<AttributeSection>

BodyRole

public static readonly Role<AstNode> BodyRole

Field Value

Role<AstNode>

Properties

ArrowToken

public CSharpTokenNode ArrowToken { get; }

Property Value

CSharpTokenNode

Attributes

public AstNodeCollection<AttributeSection> Attributes { get; }

Property Value

AstNodeCollection<AttributeSection>

Body

public AstNode Body { get; set; }

Property Value

AstNode

IsAsync

public bool IsAsync { get; set; }

Property Value

bool

LParToken

public CSharpTokenNode LParToken { get; }

Property Value

CSharpTokenNode

Parameters

public AstNodeCollection<ParameterDeclaration> Parameters { get; }

Property Value

AstNodeCollection<ParameterDeclaration>

RParToken

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