Base:
property
AsyncKeyword
Microsoft.CodeAnalysis.CSharp.Syntax.AnonymousFunctionExpressionSyntax.AsyncKeyword
7 references to AsyncKeyword
Microsoft.CodeAnalysis.CSharp (1)
Lowering\DiagnosticsPass_ExpressionTrees.cs (1)
553
if (lambdaSyntax.
AsyncKeyword
.Kind() == SyntaxKind.AsyncKeyword)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
RemoveAsyncModifierHelpers.cs (1)
25
=> lambda.WithAsyncKeyword(default).WithPrependedLeadingTrivia(lambda.
AsyncKeyword
.LeadingTrivia);
Microsoft.CodeAnalysis.CSharp.Features (3)
EditAndContinue\SyntaxComparer.cs (1)
981
asyncKeyword = parenthesized.
AsyncKeyword
;
ExtractMethod\CSharpSelectionResult.StatementResult.cs (1)
42
ParenthesizedLambdaExpressionSyntax lambda => lambda.
AsyncKeyword
.Kind() == SyntaxKind.AsyncKeyword,
RemoveAsyncModifierHelpers.cs (1)
25
=> lambda.WithAsyncKeyword(default).WithPrependedLeadingTrivia(lambda.
AsyncKeyword
.LeadingTrivia);
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
Simplification\Reducers\CSharpEscapingReducer.cs (1)
69
if (parenLamdba.
AsyncKeyword
.Kind() == SyntaxKind.AsyncKeyword)
Simplification\Reducers\CSharpMiscellaneousReducer.cs (1)
101
parenthesizedLambda.
AsyncKeyword
,