26 references to IsKind
Microsoft.CodeAnalysis.VisualBasic.Features (20)
BraceCompletion\BracketBraceCompletionService.vb (1)
40Return token.IsKind(SyntaxKind.CloseBraceToken, SyntaxKind.IdentifierToken)
BraceCompletion\InterpolationBraceCompletionService.vb (2)
40Return token.IsKind(SyntaxKind.DollarSignDoubleQuoteToken, SyntaxKind.InterpolatedStringTextToken) OrElse 68Return token.IsKind(SyntaxKind.DollarSignDoubleQuoteToken, SyntaxKind.InterpolatedStringTextToken) OrElse
BraceMatching\InterpolatedStringBraceMatcher.vb (1)
32If token.IsKind(SyntaxKind.DollarSignDoubleQuoteToken, SyntaxKind.DoubleQuoteToken) AndAlso
CodeFixes\GenerateEvent\GenerateEventCodeFixProvider.vb (2)
219If eventExpression.DescendantTokens().Where(Function(n) n.IsKind(SyntaxKind.MeKeyword, SyntaxKind.MyClassKeyword)).Any Then 339If keywordEventContainer.Keyword.IsKind(SyntaxKind.MeKeyword, SyntaxKind.MyClassKeyword) Then
Completion\CompletionProviders\NamedParameterCompletionProvider.vb (1)
58If Not token.IsKind(SyntaxKind.OpenParenToken, SyntaxKind.CommaToken) Then
Completion\CompletionProviders\VisualBasicSuggestionModeCompletionProvider.vb (1)
85If targetToken.IsKind(SyntaxKind.SelectKeyword, SyntaxKind.CommaToken) Then
Completion\KeywordRecommenders\Declarations\CovarianceModifiersKeywordRecommender.vb (1)
28If Not targetToken.IsKind(SyntaxKind.OfKeyword, SyntaxKind.CommaToken) Then
Completion\KeywordRecommenders\Declarations\ParameterModifiersKeywordRecommender.vb (1)
32parameterAlreadyHasByValOrByRef = targetToken.GetAncestor(Of ParameterSyntax)().Modifiers.Any(Function(m) m.IsKind(SyntaxKind.ByValKeyword, SyntaxKind.ByRefKeyword))
Completion\KeywordRecommenders\Expressions\KeyKeywordRecommender.vb (1)
29If targetToken.IsKind(SyntaxKind.OpenBraceToken, SyntaxKind.CommaToken) AndAlso
Completion\KeywordRecommenders\Statements\DoKeywordRecommender.vb (1)
31If targetToken.IsKind(SyntaxKind.ExitKeyword, SyntaxKind.ContinueKeyword) AndAlso
Completion\KeywordRecommenders\Statements\ForKeywordRecommender.vb (1)
30If targetToken.IsKind(SyntaxKind.ExitKeyword, SyntaxKind.ContinueKeyword) AndAlso
Completion\KeywordRecommenders\Statements\WhileLoopKeywordRecommender.vb (1)
29If targetToken.IsKind(SyntaxKind.ExitKeyword, SyntaxKind.ContinueKeyword) AndAlso
GoToDefinition\VisualBasicGoToDefinitionSymbolService.vb (1)
28If token.IsKind(SyntaxKind.ReturnKeyword, SyntaxKind.YieldKeyword) Then
QuickInfo\VisualBasicSemanticQuickInfoProvider.vb (2)
131If token.IsKind(SyntaxKind.SubKeyword, SyntaxKind.FunctionKeyword) AndAlso token.Parent.IsKind(SyntaxKind.SubLambdaHeader, SyntaxKind.FunctionLambdaHeader) Then 141If token.IsKind(SyntaxKind.OpenParenToken, SyntaxKind.CloseParenToken) AndAlso
SignatureHelp\AttributeSignatureHelpProvider.vb (1)
43Return token.IsKind(SyntaxKind.OpenParenToken, SyntaxKind.CommaToken) AndAlso
SignatureHelp\ConditionalExpressionSignatureHelpProvider.vb (1)
23Return token.IsKind(SyntaxKind.OpenParenToken, SyntaxKind.CommaToken) AndAlso
SignatureHelp\MidAssignmentSignatureHelpProvider.vb (1)
27Return token.IsKind(SyntaxKind.OpenParenToken, SyntaxKind.CommaToken) AndAlso
Microsoft.CodeAnalysis.VisualBasic.Workspaces (6)
Classification\ClassificationHelpers.vb (2)
50ElseIf token.IsKind(SyntaxKind.None, SyntaxKind.BadToken) Then 271Return token.IsKind(SyntaxKind.DollarSignDoubleQuoteToken, SyntaxKind.DoubleQuoteToken) AndAlso
Formatting\Rules\AdjustSpaceFormattingRule.vb (1)
195If previousToken.Kind = SyntaxKind.QuestionToken AndAlso currentToken.IsKind(SyntaxKind.DotToken, SyntaxKind.ExclamationToken) AndAlso
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ContextQuery\SyntaxTreeExtensions.vb\SyntaxTreeExtensions.vb (1)
249targetToken.IsKind(SyntaxKind.OpenParenToken,
ParenthesizedExpressionSyntaxExtensions.vb (1)
187previousToken.IsKind(SyntaxKind.LessThanToken, SyntaxKind.GreaterThanToken) Then
VisualBasicSyntaxFacts.vb (1)
511Return token.IsKind(SyntaxKind.StringLiteralToken, SyntaxKind.InterpolatedStringTextToken)