7 references to AsyncKeyword
Microsoft.CodeAnalysis.CSharp (1)
Lowering\DiagnosticsPass_ExpressionTrees.cs (1)
596
if (lambdaSyntax.
AsyncKeyword
.Kind() == SyntaxKind.AsyncKeyword)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Analyzers\CSharp\CodeFixes\RemoveAsyncModifier\RemoveAsyncModifierHelpers.cs (1)
25
=> lambda.WithAsyncKeyword(default).WithPrependedLeadingTrivia(lambda.
AsyncKeyword
.LeadingTrivia);
Microsoft.CodeAnalysis.CSharp.Features (3)
EditAndContinue\SyntaxComparer.cs (1)
990
asyncKeyword = parenthesized.
AsyncKeyword
;
ExtractMethod\CSharpSelectionResult.StatementResult.cs (1)
36
ParenthesizedLambdaExpressionSyntax lambda => lambda.
AsyncKeyword
.Kind() == SyntaxKind.AsyncKeyword,
src\Analyzers\CSharp\CodeFixes\RemoveAsyncModifier\RemoveAsyncModifierHelpers.cs (1)
25
=> lambda.WithAsyncKeyword(default).WithPrependedLeadingTrivia(lambda.
AsyncKeyword
.LeadingTrivia);
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
Simplification\Reducers\CSharpEscapingReducer.cs (1)
68
if (parenLamdba.
AsyncKeyword
.Kind() == SyntaxKind.AsyncKeyword)
Simplification\Reducers\CSharpMiscellaneousReducer.cs (1)
99
parenthesizedLambda.
AsyncKeyword
,