次の方法で共有


SyntaxTokenParser.Result.ContextualKind Property

Definition

If the parsed token is potentially a contextual keyword, this will return the contextual kind of the token. Otherwise, it will return None.

public Microsoft.CodeAnalysis.CSharp.SyntaxKind ContextualKind { get; }
member this.ContextualKind : Microsoft.CodeAnalysis.CSharp.SyntaxKind
Public ReadOnly Property ContextualKind As SyntaxKind

Property Value

Applies to