CSharpExtensions.IsKeyword(SyntaxToken) 方法

定义

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

参数

token
SyntaxToken

返回

适用于