8 references to HasMatchingText
Microsoft.CodeAnalysis.CSharp.Workspaces (8)
Classification\SyntaxClassification\NameSyntaxClassifier.cs (1)
288
name.Identifier.
HasMatchingText
(SyntaxKind.FromKeyword) &&
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTokenExtensions.cs (4)
40
=> token.Kind() == kind || token.
HasMatchingText
(kind);
107
if (token.
HasMatchingText
(SyntaxKind.AsyncKeyword))
111
if (token.
HasMatchingText
(SyntaxKind.FileKeyword))
115
if (token.
HasMatchingText
(SyntaxKind.PartialKeyword))
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\CSharpSyntaxContext.cs (1)
466
&& targetToken.
HasMatchingText
(SyntaxKind.AwaitKeyword))
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (2)
1488
if (identifier.
HasMatchingText
(SyntaxKind.OrKeyword) ||
1489
identifier.
HasMatchingText
(SyntaxKind.AndKeyword))