7 references to WithAsyncKeyword
Microsoft.CodeAnalysis.CSharp (1)
Syntax\AnonymousMethodExpressionSyntax.cs (1)
27
internal override AnonymousFunctionExpressionSyntax WithAsyncKeywordCore(SyntaxToken asyncKeyword) =>
WithAsyncKeyword
(asyncKeyword);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (6)
Syntax\SyntaxNodeTests.cs (6)
3968
var withAsync = expression.
WithAsyncKeyword
(SyntaxFactory.Token(SyntaxKind.AsyncKeyword).WithTrailingTrivia(SyntaxFactory.Space)).ToString();
3995
var withAsync = expression.
WithAsyncKeyword
(SyntaxFactory.Token(SyntaxKind.AsyncKeyword).WithTrailingTrivia(SyntaxFactory.Space)).ToString();
4022
var withAsync = expression.
WithAsyncKeyword
(default).ToString();
4049
var withAsync = expression.
WithAsyncKeyword
(default).ToString();
4077
var withAsync = expression.
WithAsyncKeyword
(newAsync).ToString();
4086
var withAsync = expression.
WithAsyncKeyword
(default);