7 references to IsKindOrHasMatchingText
Microsoft.CodeAnalysis.CSharp.Workspaces (7)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs (1)
656
identifierName.Identifier.
IsKindOrHasMatchingText
(SyntaxKind.NameOfKeyword);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\ElasticTriviaFormattingRule.cs (2)
337
(parent.Target.Identifier.
IsKindOrHasMatchingText
(SyntaxKind.AssemblyKeyword) ||
338
parent.Target.Identifier.
IsKindOrHasMatchingText
(SyntaxKind.ModuleKeyword)))
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTokenExtensions.cs (1)
516
return targetToken.
IsKindOrHasMatchingText
(SyntaxKind.YieldKeyword);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (3)
1431
if (leftToken.
IsKindOrHasMatchingText
(SyntaxKind.AndKeyword) || leftToken.
IsKindOrHasMatchingText
(SyntaxKind.OrKeyword))
1846
if (token.
IsKindOrHasMatchingText
(SyntaxKind.FromKeyword) &&