10 references to AsyncKeyword
Microsoft.CodeAnalysis.CSharp.Features (2)
src\Analyzers\CSharp\CodeFixes\MakeMethodAsynchronous\CSharpMakeMethodAsynchronousCodeFixProvider.cs (2)
35private static readonly SyntaxToken s_asyncKeywordWithSpace = AsyncKeyword.WithoutTrivia().WithTrailingTrivia(Space); 215.WithAsyncKeyword(AsyncKeyword.WithPrependedLeadingTrivia(anonymous.GetLeadingTrivia()));
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (6)
EditAndContinue\SyntaxComparerTests.cs (6)
60[PublicKeyword, StaticKeyword, AsyncKeyword], 61[StaticKeyword, PublicKeyword, AsyncKeyword]); 76[PublicKeyword, StaticKeyword, AsyncKeyword], 77[StaticKeyword, PublicKeyword, AsyncKeyword]); 102[PublicKeyword, StaticKeyword, AsyncKeyword], 103[StaticKeyword, PublicKeyword, AsyncKeyword]);
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
CodeGeneration\CSharpSyntaxGenerator.cs (1)
1710AddIf(modifiers.IsAsync, AsyncKeyword);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\MethodGenerator.cs (1)
395tokens.Add(AsyncKeyword);