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); 106if (token.HasMatchingText(SyntaxKind.AsyncKeyword)) 110if (token.HasMatchingText(SyntaxKind.FileKeyword)) 114if (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)
1504if (identifier.HasMatchingText(SyntaxKind.OrKeyword) || 1505identifier.HasMatchingText(SyntaxKind.AndKeyword))