5 references to AsyncKeyword
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Analyzers\CSharp\CodeFixes\RemoveAsyncModifier\RemoveAsyncModifierHelpers.cs (1)
31
=> method.WithAsyncKeyword(default).WithPrependedLeadingTrivia(method.
AsyncKeyword
.LeadingTrivia);
Microsoft.CodeAnalysis.CSharp.Features (3)
EditAndContinue\SyntaxComparer.cs (1)
1009
asyncKeyword = anonymous.
AsyncKeyword
;
ExtractMethod\CSharpSelectionResult.StatementResult.cs (1)
37
AnonymousMethodExpressionSyntax anonymous => anonymous.
AsyncKeyword
.Kind() == SyntaxKind.AsyncKeyword,
src\Analyzers\CSharp\CodeFixes\RemoveAsyncModifier\RemoveAsyncModifierHelpers.cs (1)
31
=> method.WithAsyncKeyword(default).WithPrependedLeadingTrivia(method.
AsyncKeyword
.LeadingTrivia);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Syntax\SyntaxNodeTests.cs (1)
4014
Assert.Equal(default, withAsync.
AsyncKeyword
);