8 references to HasMatchingText
Microsoft.CodeAnalysis.CSharp.Workspaces (8)
Classification\SyntaxClassification\NameSyntaxClassifier.cs (1)
288name.Identifier.HasMatchingText(SyntaxKind.FromKeyword) &&
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTokenExtensions.cs (4)
40=> token.Kind() == kind || token.HasMatchingText(kind); 107if (token.HasMatchingText(SyntaxKind.AsyncKeyword)) 111if (token.HasMatchingText(SyntaxKind.FileKeyword)) 115if (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)
1488if (identifier.HasMatchingText(SyntaxKind.OrKeyword) || 1489identifier.HasMatchingText(SyntaxKind.AndKeyword))