Base:
property
AttributeLists
Microsoft.CodeAnalysis.CSharp.Syntax.LambdaExpressionSyntax.AttributeLists
11 references to AttributeLists
Microsoft.CodeAnalysis.CSharp (9)
Syntax.xml.Main.Generated.cs (1)
1672
=> node.Update(VisitList(node.
AttributeLists
), VisitList(node.Modifiers), (ParameterSyntax?)Visit(node.Parameter) ?? throw new ArgumentNullException("parameter"), VisitToken(node.ArrowToken), (BlockSyntax?)Visit(node.Block), (ExpressionSyntax?)Visit(node.ExpressionBody));
Syntax.xml.Syntax.Generated.cs (7)
3265
if (attributeLists != this.
AttributeLists
|| modifiers != this.Modifiers || parameter != this.Parameter || arrowToken != this.ArrowToken || block != this.Block || expressionBody != this.ExpressionBody)
3278
public new SimpleLambdaExpressionSyntax WithModifiers(SyntaxTokenList modifiers) => Update(this.
AttributeLists
, modifiers, this.Parameter, this.ArrowToken, this.Block, this.ExpressionBody);
3279
public SimpleLambdaExpressionSyntax WithParameter(ParameterSyntax parameter) => Update(this.
AttributeLists
, this.Modifiers, parameter, this.ArrowToken, this.Block, this.ExpressionBody);
3281
public new SimpleLambdaExpressionSyntax WithArrowToken(SyntaxToken arrowToken) => Update(this.
AttributeLists
, this.Modifiers, this.Parameter, arrowToken, this.Block, this.ExpressionBody);
3283
public new SimpleLambdaExpressionSyntax WithBlock(BlockSyntax? block) => Update(this.
AttributeLists
, this.Modifiers, this.Parameter, this.ArrowToken, block, this.ExpressionBody);
3285
public new SimpleLambdaExpressionSyntax WithExpressionBody(ExpressionSyntax? expressionBody) => Update(this.
AttributeLists
, this.Modifiers, this.Parameter, this.ArrowToken, this.Block, expressionBody);
3288
public new SimpleLambdaExpressionSyntax AddAttributeLists(params AttributeListSyntax[] items) => WithAttributeLists(this.
AttributeLists
.AddRange(items));
Syntax\SimpleLambdaExpressionSyntax.cs (1)
34
=> Update(this.
AttributeLists
, modifiers, parameter, arrowToken, block, expressionBody);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Generated\Syntax.Test.xml.Generated.cs (2)
11750
Assert.Equal(default, node.
AttributeLists
);
11756
var newNode = node.WithAttributeLists(node.
AttributeLists
).WithModifiers(node.Modifiers).WithParameter(node.Parameter).WithArrowToken(node.ArrowToken).WithBlock(node.Block).WithExpressionBody(node.ExpressionBody);