Base:
property
AsyncKeyword
Microsoft.CodeAnalysis.CSharp.Syntax.AnonymousFunctionExpressionSyntax.AsyncKeyword
9 references to AsyncKeyword
Microsoft.CodeAnalysis.CSharp (1)
Lowering\DiagnosticsPass_ExpressionTrees.cs (1)
571
if (lambdaSyntax.
AsyncKeyword
.Kind() == SyntaxKind.AsyncKeyword)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
RemoveAsyncModifierHelpers.cs (1)
28
=> lambda.WithAsyncKeyword(default).WithPrependedLeadingTrivia(lambda.
AsyncKeyword
.LeadingTrivia);
Microsoft.CodeAnalysis.CSharp.Features (5)
ChangeSignature\CSharpChangeSignatureService.cs (2)
362
lambda.
AsyncKeyword
,
374
return ParenthesizedLambdaExpression(lambda.
AsyncKeyword
, emptyParameterList, lambda.ArrowToken, lambda.Body);
EditAndContinue\SyntaxComparer.cs (1)
970
asyncKeyword = simple.
AsyncKeyword
;
ExtractMethod\CSharpSelectionResult.StatementResult.cs (1)
43
SimpleLambdaExpressionSyntax lambda => lambda.
AsyncKeyword
.Kind() == SyntaxKind.AsyncKeyword,
RemoveAsyncModifierHelpers.cs (1)
28
=> lambda.WithAsyncKeyword(default).WithPrependedLeadingTrivia(lambda.
AsyncKeyword
.LeadingTrivia);
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
Simplification\CSharpSimplificationService.Expander.cs (1)
228
simpleLambda.
AsyncKeyword
,
Simplification\Reducers\CSharpEscapingReducer.cs (1)
61
if (simpleLambda.
AsyncKeyword
.Kind() == SyntaxKind.AsyncKeyword)