Base:
property
Modifiers
Microsoft.CodeAnalysis.CSharp.Syntax.AnonymousFunctionExpressionSyntax.Modifiers
14 references to Modifiers
Microsoft.CodeAnalysis.CSharp (10)
Syntax.xml.Main.Generated.cs (1)
1678
=> node.Update(VisitList(node.AttributeLists), VisitList(node.
Modifiers
), (TypeSyntax?)Visit(node.ReturnType), (ParameterListSyntax?)Visit(node.ParameterList) ?? throw new ArgumentNullException("parameterList"), VisitToken(node.ArrowToken), (BlockSyntax?)Visit(node.Block), (ExpressionSyntax?)Visit(node.ExpressionBody));
Syntax.xml.Syntax.Generated.cs (8)
3427
if (attributeLists != this.AttributeLists || modifiers != this.
Modifiers
|| returnType != this.ReturnType || parameterList != this.ParameterList || arrowToken != this.ArrowToken || block != this.Block || expressionBody != this.ExpressionBody)
3438
public new ParenthesizedLambdaExpressionSyntax WithAttributeLists(SyntaxList<AttributeListSyntax> attributeLists) => Update(attributeLists, this.
Modifiers
, this.ReturnType, this.ParameterList, this.ArrowToken, this.Block, this.ExpressionBody);
3441
public ParenthesizedLambdaExpressionSyntax WithReturnType(TypeSyntax? returnType) => Update(this.AttributeLists, this.
Modifiers
, returnType, this.ParameterList, this.ArrowToken, this.Block, this.ExpressionBody);
3442
public ParenthesizedLambdaExpressionSyntax WithParameterList(ParameterListSyntax parameterList) => Update(this.AttributeLists, this.
Modifiers
, this.ReturnType, parameterList, this.ArrowToken, this.Block, this.ExpressionBody);
3444
public new ParenthesizedLambdaExpressionSyntax WithArrowToken(SyntaxToken arrowToken) => Update(this.AttributeLists, this.
Modifiers
, this.ReturnType, this.ParameterList, arrowToken, this.Block, this.ExpressionBody);
3446
public new ParenthesizedLambdaExpressionSyntax WithBlock(BlockSyntax? block) => Update(this.AttributeLists, this.
Modifiers
, this.ReturnType, this.ParameterList, this.ArrowToken, block, this.ExpressionBody);
3448
public new ParenthesizedLambdaExpressionSyntax WithExpressionBody(ExpressionSyntax? expressionBody) => Update(this.AttributeLists, this.
Modifiers
, this.ReturnType, this.ParameterList, this.ArrowToken, this.Block, expressionBody);
3453
public new ParenthesizedLambdaExpressionSyntax AddModifiers(params SyntaxToken[] items) => WithModifiers(this.
Modifiers
.AddRange(items));
Syntax\ParenthesizedLambdaExpressionSyntax.cs (1)
22
=> this.
Modifiers
.FirstOrDefault(SyntaxKind.AsyncKeyword);
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Analyzers\CSharp\Analyzers\UseImplicitlyTypedLambdaExpression\CSharpUseImplicitlyTypedLambdaExpressionDiagnosticAnalyzer.cs (1)
115
explicitLambda.
Modifiers
,
Microsoft.CodeAnalysis.CSharp.Features (1)
src\Analyzers\CSharp\Analyzers\UseImplicitlyTypedLambdaExpression\CSharpUseImplicitlyTypedLambdaExpressionDiagnosticAnalyzer.cs (1)
115
explicitLambda.
Modifiers
,
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Generated\Syntax.Test.xml.Generated.cs (2)
11777
Assert.Equal(default, node.
Modifiers
);
11783
var newNode = node.WithAttributeLists(node.AttributeLists).WithModifiers(node.
Modifiers
).WithReturnType(node.ReturnType).WithParameterList(node.ParameterList).WithArrowToken(node.ArrowToken).WithBlock(node.Block).WithExpressionBody(node.ExpressionBody);