19 references to HasMatchingText
Microsoft.CodeAnalysis.VisualBasic.Features (2)
Completion\KeywordRecommenders\Declarations\AsKeywordRecommender.vb (2)
114(targetToken.HasMatchingText(SyntaxKind.AsyncKeyword) OrElse targetToken.HasMatchingText(SyntaxKind.IteratorKeyword)) Then
Microsoft.CodeAnalysis.VisualBasic.Workspaces (17)
Classification\SyntaxClassification\NameSyntaxClassifier.vb (5)
176If token.HasMatchingText(SyntaxKind.FromKeyword) AndAlso 182ElseIf token.HasMatchingText(SyntaxKind.AsyncKeyword) OrElse 183token.HasMatchingText(SyntaxKind.IteratorKeyword) Then 253If token.HasMatchingText(SyntaxKind.AsyncKeyword) OrElse 254token.HasMatchingText(SyntaxKind.IteratorKeyword) Then
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\MemberAccessExpressionSyntaxExtensions.vb\MemberAccessExpressionSyntaxExtensions.vb (2)
23Return memberAccess.Name.Identifier.HasMatchingText(SyntaxKind.NewKeyword) 38Return memberAccess.Name.Identifier.HasMatchingText(SyntaxKind.NewKeyword)
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\SyntaxTokenExtensions.vb\SyntaxTokenExtensions.vb (1)
26token.HasMatchingText(kind)
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ContextQuery\SyntaxTreeExtensions.vb\SyntaxTreeExtensions.vb (2)
172If token.HasMatchingText(SyntaxKind.AsyncKeyword) OrElse token.HasMatchingText(SyntaxKind.IteratorKeyword) Then
ModifierCollectionFacts.vb (4)
45targetToken.HasMatchingText(SyntaxKind.AsyncKeyword) OrElse 46targetToken.HasMatchingText(SyntaxKind.IteratorKeyword) 194If targetToken.HasMatchingText(SyntaxKind.AsyncKeyword) Then 198ElseIf targetToken.HasMatchingText(SyntaxKind.IteratorKeyword) Then
VisualBasicIndentationService.Indenter.vb (1)
133If token.Kind = SyntaxKind.IdentifierToken AndAlso token.HasMatchingText(SyntaxKind.FromKeyword) Then
VisualBasicSyntaxFacts.vb (2)
253If TypeOf token.Parent Is IdentifierNameSyntax AndAlso token.HasMatchingText(SyntaxKind.NewKeyword) Then 262If TypeOf token.Parent Is IdentifierNameSyntax AndAlso token.HasMatchingText(SyntaxKind.NewKeyword) Then