7 references to AsyncKeyword
Microsoft.CodeAnalysis.CSharp (1)
Lowering\DiagnosticsPass_ExpressionTrees.cs (1)
596if (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)
990asyncKeyword = parenthesized.AsyncKeyword;
ExtractMethod\CSharpSelectionResult.StatementResult.cs (1)
36ParenthesizedLambdaExpressionSyntax 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)
68if (parenLamdba.AsyncKeyword.Kind() == SyntaxKind.AsyncKeyword)
Simplification\Reducers\CSharpMiscellaneousReducer.cs (1)
99parenthesizedLambda.AsyncKeyword,