8 references to AsyncKeyword
Microsoft.CodeAnalysis.CSharp (1)
Lowering\DiagnosticsPass_ExpressionTrees.cs (1)
614if (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)
372lambda.AsyncKeyword, 384return ParenthesizedLambdaExpression(lambda.AsyncKeyword, emptyParameterList, lambda.ArrowToken, lambda.Body);
EditAndContinue\SyntaxComparer.cs (1)
979asyncKeyword = simple.AsyncKeyword;
ExtractMethod\CSharpSelectionResult.StatementResult.cs (1)
37SimpleLambdaExpressionSyntax 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)
60if (simpleLambda.AsyncKeyword.Kind() == SyntaxKind.AsyncKeyword)