Share via


AnonymousFunctionExpressionSyntax.WithAsyncKeyword(SyntaxToken) Method

Definition

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::AnonymousFunctionExpressionSyntax ^ WithAsyncKeyword(Microsoft::CodeAnalysis::SyntaxToken asyncKeyword);
public Microsoft.CodeAnalysis.CSharp.Syntax.AnonymousFunctionExpressionSyntax WithAsyncKeyword (Microsoft.CodeAnalysis.SyntaxToken asyncKeyword);
member this.WithAsyncKeyword : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.AnonymousFunctionExpressionSyntax
Public Function WithAsyncKeyword (asyncKeyword As SyntaxToken) As AnonymousFunctionExpressionSyntax

Parameters

asyncKeyword
SyntaxToken

Returns

Applies to