46 references to IsKindOrHasMatchingText
Microsoft.CodeAnalysis.VisualBasic.Workspaces (46)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\InvocationExpressionSyntaxExtensions.vb (2)
20If nextToken.IsKindOrHasMatchingText(SyntaxKind.OpenParenToken) Then 27If lastExpressionToken.IsKindOrHasMatchingText(SyntaxKind.CloseParenToken) AndAlso
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\ParenthesizedExpressionSyntaxExtensions.vb (18)
214Not nextToken.IsKindOrHasMatchingText(SyntaxKind.CommaToken) Then 224If nextToken.IsKindOrHasMatchingText(SyntaxKind.DotToken) Then 240If nextToken.IsKindOrHasMatchingText(SyntaxKind.OpenParenToken) Then 258(previousToken.IsKindOrHasMatchingText(SyntaxKind.LessThanToken) OrElse 259previousToken.IsKindOrHasMatchingText(SyntaxKind.GreaterThanToken))) Then 266Return Not nextToken.IsKindOrHasMatchingText(SyntaxKind.OpenParenToken) 299If nextToken.IsKindOrHasMatchingText(SyntaxKind.OpenParenToken) Then 319If Not nextToken.IsKindOrHasMatchingText(SyntaxKind.OpenParenToken) Then 424If nextToken.IsKindOrHasMatchingText(SyntaxKind.CommaToken) Then 428Not previousToken.IsKindOrHasMatchingText(SyntaxKind.OpenParenToken) AndAlso 439If nextToken.IsKindOrHasMatchingText(SyntaxKind.DotToken) AndAlso 463If nextToken.IsKindOrHasMatchingText(SyntaxKind.CloseParenToken) OrElse 464nextToken.IsKindOrHasMatchingText(SyntaxKind.CloseBraceToken) OrElse 507If nextToken.IsKindOrHasMatchingText(SyntaxKind.CloseParenToken) OrElse 508nextToken.IsKindOrHasMatchingText(SyntaxKind.CloseBraceToken) OrElse 532If Not (nextToken.IsKindOrHasMatchingText(SyntaxKind.DotToken) AndAlso 534Not (nextToken.IsKindOrHasMatchingText(SyntaxKind.SelectKeyword) AndAlso 536Not (nextToken.IsKindOrHasMatchingText(SyntaxKind.ExclamationToken) AndAlso
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\CallStatementSyntaxExtensions.vb (24)
14If (nextToken.IsKindOrHasMatchingText(SyntaxKind.IdentifierToken) OrElse 21If nextToken.IsKindOrHasMatchingText(SyntaxKind.CBoolKeyword) OrElse 22nextToken.IsKindOrHasMatchingText(SyntaxKind.CCharKeyword) OrElse 23nextToken.IsKindOrHasMatchingText(SyntaxKind.CDateKeyword) OrElse 24nextToken.IsKindOrHasMatchingText(SyntaxKind.CDblKeyword) OrElse 25nextToken.IsKindOrHasMatchingText(SyntaxKind.CDecKeyword) OrElse 26nextToken.IsKindOrHasMatchingText(SyntaxKind.CIntKeyword) OrElse 27nextToken.IsKindOrHasMatchingText(SyntaxKind.CLngKeyword) OrElse 28nextToken.IsKindOrHasMatchingText(SyntaxKind.CObjKeyword) OrElse 29nextToken.IsKindOrHasMatchingText(SyntaxKind.CSByteKeyword) OrElse 30nextToken.IsKindOrHasMatchingText(SyntaxKind.CShortKeyword) OrElse 31nextToken.IsKindOrHasMatchingText(SyntaxKind.CSngKeyword) OrElse 32nextToken.IsKindOrHasMatchingText(SyntaxKind.CStrKeyword) OrElse 33nextToken.IsKindOrHasMatchingText(SyntaxKind.CTypeKeyword) OrElse 34nextToken.IsKindOrHasMatchingText(SyntaxKind.CUIntKeyword) OrElse 35nextToken.IsKindOrHasMatchingText(SyntaxKind.CULngKeyword) OrElse 36nextToken.IsKindOrHasMatchingText(SyntaxKind.CUShortKeyword) OrElse 37nextToken.IsKindOrHasMatchingText(SyntaxKind.DirectCastKeyword) OrElse 38nextToken.IsKindOrHasMatchingText(SyntaxKind.GetTypeKeyword) OrElse 39nextToken.IsKindOrHasMatchingText(SyntaxKind.GetXmlNamespaceKeyword) OrElse 40nextToken.IsKindOrHasMatchingText(SyntaxKind.MeKeyword) OrElse 41nextToken.IsKindOrHasMatchingText(SyntaxKind.MyBaseKeyword) OrElse 42nextToken.IsKindOrHasMatchingText(SyntaxKind.MyClassKeyword) OrElse 43nextToken.IsKindOrHasMatchingText(SyntaxKind.TryCastKeyword) Then
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ObjectCreationExpressionExtensions.vb (2)
23If nextToken.IsKindOrHasMatchingText(SyntaxKind.OpenParenToken) Then 27If nextToken.IsKindOrHasMatchingText(SyntaxKind.DotToken) Then