共用方式為


CSharpExtensions.IsKeyword(SyntaxToken) Method

Definition

public:
[System::Runtime::CompilerServices::Extension]
 static bool IsKeyword(Microsoft::CodeAnalysis::SyntaxToken token);
public static bool IsKeyword (this Microsoft.CodeAnalysis.SyntaxToken token);
static member IsKeyword : Microsoft.CodeAnalysis.SyntaxToken -> bool
<Extension()>
Public Function IsKeyword (token As SyntaxToken) As Boolean

Parameters

token
SyntaxToken

Returns

Applies to