Udostępnij za pośrednictwem


VisualBasicExtensions.IsBracketed(SyntaxToken) Method

Definition

Checks to see if SyntaxToken is a bracketed identifier.

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

Parameters

token
SyntaxToken

The source SyntaxToken.

Returns

A boolean value, True if token represents a bracketed Identifier.

Applies to