8 references to HasMatchingText
Microsoft.CodeAnalysis.CSharp.CodeStyle (3)
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTreeExtensions.cs\SyntaxTreeExtensions.cs (2)
60if (token.HasMatchingText(SyntaxKind.AsyncKeyword)) 67if (token.HasMatchingText(SyntaxKind.FileKeyword))
SyntaxTokenExtensions.cs (1)
39=> token.Kind() == kind || token.HasMatchingText(kind);
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (5)
CSharpSyntaxContext.cs (1)
444&& targetToken.HasMatchingText(SyntaxKind.AwaitKeyword))
CSharpTypeInferenceService.TypeInferrer.cs (2)
1530if (identifier.HasMatchingText(SyntaxKind.OrKeyword) || 1531identifier.HasMatchingText(SyntaxKind.AndKeyword))
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs\SyntaxTreeExtensions.cs (2)
298if (token.HasMatchingText(SyntaxKind.AsyncKeyword)) 830token.HasMatchingText(SyntaxKind.WhereKeyword) &&