8 references to AsyncKeyword
Microsoft.CodeAnalysis.CSharp (1)
Lowering\DiagnosticsPass_ExpressionTrees.cs (1)
614
if (lambdaSyntax.
AsyncKeyword
.Kind() == SyntaxKind.AsyncKeyword)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Analyzers\CSharp\CodeFixes\RemoveAsyncModifier\RemoveAsyncModifierHelpers.cs (1)
28
=> lambda.WithAsyncKeyword(default).WithPrependedLeadingTrivia(lambda.
AsyncKeyword
.LeadingTrivia);
Microsoft.CodeAnalysis.CSharp.Features (5)
ChangeSignature\CSharpChangeSignatureService.cs (2)
374
lambda.
AsyncKeyword
,
386
return ParenthesizedLambdaExpression(lambda.
AsyncKeyword
, emptyParameterList, lambda.ArrowToken, lambda.Body);
EditAndContinue\SyntaxComparer.cs (1)
979
asyncKeyword = simple.
AsyncKeyword
;
ExtractMethod\CSharpSelectionResult.StatementResult.cs (1)
36
SimpleLambdaExpressionSyntax lambda => lambda.
AsyncKeyword
.Kind() == SyntaxKind.AsyncKeyword,
src\Analyzers\CSharp\CodeFixes\RemoveAsyncModifier\RemoveAsyncModifierHelpers.cs (1)
28
=> lambda.WithAsyncKeyword(default).WithPrependedLeadingTrivia(lambda.
AsyncKeyword
.LeadingTrivia);
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
Simplification\Reducers\CSharpEscapingReducer.cs (1)
60
if (simpleLambda.
AsyncKeyword
.Kind() == SyntaxKind.AsyncKeyword)