183 references to IsKind
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities2 (2)
Utilities\AssertEx.vb (2)
27If expectedToken.IsKind(SyntaxKind.StatementTerminatorToken) AndAlso actualToken.IsKind(SyntaxKind.StatementTerminatorToken) Then
Microsoft.CodeAnalysis.VisualBasic (24)
Generated\Syntax.xml.Main.Generated.vb (19)
6569If (Not blockKeyword.IsKind(GetEndBlockStatementBlockKeywordKind(kind))) Then 9491If (Not subOrFunctionKeyword.IsKind(GetMethodStatementSubOrFunctionKeywordKind(kind))) Then 9993If (Not subOrFunctionKeyword.IsKind(GetDeclareStatementSubOrFunctionKeywordKind(kind))) Then 10389If (Not subOrFunctionKeyword.IsKind(GetDelegateStatementSubOrFunctionKeywordKind(kind))) Then 11225If (Not accessorKeyword.IsKind(GetAccessorStatementAccessorKeywordKind(kind))) Then 13241If (Not labelToken.IsKind(GetLabelLabelTokenKind(kind))) Then 13678If (Not blockKeyword.IsKind(GetExitStatementBlockKeywordKind(kind))) Then 13860If (Not blockKeyword.IsKind(GetContinueStatementBlockKeywordKind(kind))) Then 17443If (Not operatorToken.IsKind(GetRelationalCaseClauseOperatorTokenKind(kind))) Then 18768If (Not whileOrUntilKeyword.IsKind(GetWhileOrUntilClauseWhileOrUntilKeywordKind(kind))) Then 23184If (Not operatorToken.IsKind(GetAssignmentStatementOperatorTokenKind(kind))) Then 23979If (Not addHandlerOrRemoveHandlerKeyword.IsKind(GetAddRemoveHandlerStatementAddHandlerOrRemoveHandlerKeywordKind(kind))) Then 26015If (Not operatorToken.IsKind(GetTypeOfExpressionOperatorTokenKind(kind))) Then 26254If (Not operatorToken.IsKind(GetMemberAccessExpressionOperatorTokenKind(kind))) Then 34062If (Not operatorToken.IsKind(GetBinaryExpressionOperatorTokenKind(kind))) Then 34824If (Not operatorToken.IsKind(GetUnaryExpressionOperatorTokenKind(kind))) Then 36892If (Not subOrFunctionKeyword.IsKind(GetLambdaHeaderSubOrFunctionKeywordKind(kind))) Then 38618If (Not skipOrTakeKeyword.IsKind(GetPartitionWhileClauseSkipOrTakeKeywordKind(kind))) Then 39073If (Not skipOrTakeKeyword.IsKind(GetPartitionClauseSkipOrTakeKeywordKind(kind))) Then
Syntax\SyntaxFactory.vb (2)
923If rewrittenToken.IsKind(SyntaxKind.LessThanToken) AndAlso String.Equals("<", rewrittenToken.Text, StringComparison.Ordinal) Then 927If rewrittenToken.IsKind(SyntaxKind.GreaterThanToken) AndAlso String.Equals(">", rewrittenToken.Text, StringComparison.Ordinal) Then
VisualBasicExtensions.vb (3)
291If token.IsKind(SyntaxKind.IdentifierToken) Then 333If token.IsKind(SyntaxKind.IntegerLiteralToken) Then 385If(token.IsKind(SyntaxKind.IdentifierToken),
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (9)
NodeBasedFormattingRule.vb (2)
140If (Item1PreviousToken.IsKind(SyntaxKind.GreaterThanToken) AndAlso 153If nextTokenAfterCase.IsKind(SyntaxKind.CaseKeyword) Then
ParenthesizedExpressionSyntaxExtensions.vb (1)
186If firstToken.IsKind(SyntaxKind.LessThanToken) AndAlso
SyntaxTreeExtensions.vb (4)
191If token.IsKind(SyntaxKind.StringLiteralToken) Then 219Dim lastChar = If(token.IsKind(SyntaxKind.CharacterLiteralToken), "'", """") 227If token.IsKind(SyntaxKind.CharacterLiteralToken) Then 304If token.IsKind(SyntaxKind.None) Then
VisualBasicRemoveUnnecessaryByValDiagnosticAnalyzer.vb (1)
28If modifier.IsKind(SyntaxKind.ByValKeyword) Then
VisualBasicSyntaxFacts.vb (1)
1260Return attributeNode.Target.AttributeModifier.IsKind(attributeTarget)
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (24)
ModifierCollectionFacts.vb (3)
53If _accessibilityKeyword.IsKind(SyntaxKind.ProtectedKeyword) Then 63If targetToken.IsKind(SyntaxKind.ProtectedKeyword) AndAlso _accessibilityKeyword.IsKind(SyntaxKind.FriendKeyword) Then
SyntaxTokenExtensions.vb (4)
97If targetToken.IsKind(SyntaxKind.HashToken) AndAlso targetToken.TrailingTrivia.Any(Function(t) 100Return childTokens.Count() = 1 AndAlso childTokens.First().IsKind(SyntaxKind.EndKeyword) 108Return targetToken.IsKind(SyntaxKind.EndKeyword) AndAlso 109targetToken.GetPreviousToken().IsKind(SyntaxKind.HashToken) AndAlso
SyntaxTreeExtensions.vb (5)
27If Not token.IsKind(SyntaxKind.EmptyToken) AndAlso token.Span.End < position Then 469If targetToken.IsKind(SyntaxKind.DotToken) AndAlso 778If Not targetToken.IsKind(SyntaxKind.DotToken) OrElse 1079If tokenOnLeftOfPosition.IsKind(SyntaxKind.OpenParenToken) Then 1084Return tokenOnLeftOfPosition.IsKind(SyntaxKind.CommaToken) AndAlso
VisualBasicIndentationService.Indenter.vb (6)
157If containingToken.IsKind(SyntaxKind.InterpolatedStringTextToken) OrElse 158containingToken.IsKind(SyntaxKind.InterpolatedStringText) OrElse 159(containingToken.IsKind(SyntaxKind.CloseBraceToken) AndAlso token.Parent.IsKind(SyntaxKind.Interpolation)) Then 181If Not lastVisibleTokenOnPreviousLine.IsKind(SyntaxKind.OpenBraceToken) AndAlso 182Not lastVisibleTokenOnPreviousLine.IsKind(SyntaxKind.CommaToken) Then 204If visibleTokenOnCurrentLine.IsKind(SyntaxKind.CloseBraceToken) Then
VisualBasicRemoveUnnecessaryByValCodeFixProvider.vb (1)
41Dim tokenList = SyntaxFactory.TokenList(node.Modifiers.Where(Function(m) Not m.IsKind(SyntaxKind.ByValKeyword)))
VisualBasicSyntaxContext.vb (3)
259If targetToken.IsKind(SyntaxKind.HashToken) AndAlso targetToken.Span.End = position Then 293Return (TargetToken.IsKind(SyntaxKind.CloseParenToken) AndAlso 300(TargetToken.IsKind(SyntaxKind.IdentifierToken) AndAlso
VisualBasicTypeInferenceService.TypeInferrer.vb (2)
204ElseIf previousToken.IsKind(SyntaxKind.CommaToken) Then 759If previoustoken <> Nothing AndAlso Not previoustoken.IsKind(SyntaxKind.YieldKeyword) Then
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures (6)
DocumentationComments\XmlTagCompletionCommandHandler.vb (1)
41If token.IsKind(SyntaxKind.GreaterThanToken) AndAlso
EndConstructGeneration\EndConstructStatementVisitor_LambdaHeader.vb (1)
26Dim isNextToXmlEmbeddedExpression = tokenNextToLambda.IsKind(SyntaxKind.PercentGreaterThanToken) AndAlso tokenNextToLambda.Parent.IsKind(SyntaxKind.XmlEmbeddedExpression)
EndConstructGeneration\EndConstructStatementVisitor_Properties.vb (2)
132If propertyDeclaration.Modifiers.Any(Function(m) m.IsKind(SyntaxKind.WriteOnlyKeyword)) Then 164If propertyDeclaration.Modifiers.Any(Function(m) m.IsKind(SyntaxKind.ReadOnlyKeyword)) Then
EndConstructGeneration\VisualBasicEndConstructGenerationService.vb (1)
245If nextToken.IsKind(SyntaxKind.EndOfFileToken) AndAlso nextTokenLine = caretLine Then
LineCommit\CommitCommandHandler.vb (1)
205If token.IsKind(SyntaxKind.StringLiteralToken) AndAlso token.FullSpan.Contains(oldCaretPositionInOldSnapshot.Value) Then
Microsoft.CodeAnalysis.VisualBasic.Features (69)
BraceCompletion\BracketBraceCompletionService.vb (1)
35Return token.IsKind(SyntaxKind.OpenBraceToken)
BraceCompletion\CurlyBraceCompletionService.vb (2)
39Return token.IsKind(SyntaxKind.OpenBraceToken) 43Return token.IsKind(SyntaxKind.CloseBraceToken)
BraceCompletion\InterpolatedStringBraceCompletionService.vb (2)
41Return token.IsKind(SyntaxKind.DollarSignDoubleQuoteToken) 45Return token.IsKind(SyntaxKind.DoubleQuoteToken)
BraceCompletion\InterpolationBraceCompletionService.vb (3)
41(token.IsKind(SyntaxKind.CloseBraceToken) AndAlso token.Parent.IsKind(SyntaxKind.Interpolation)) 45Return token.IsKind(SyntaxKind.CloseBraceToken) 69(token.IsKind(SyntaxKind.CloseBraceToken) AndAlso token.Parent.IsKind(SyntaxKind.Interpolation))
BraceCompletion\LessAndGreaterThanCompletionService.vb (2)
29Return token.IsKind(SyntaxKind.LessThanToken) 33Return token.IsKind(SyntaxKind.LessThanGreaterThanToken)
BraceCompletion\ParenthesisBraceCompletionService.vb (2)
29Return token.IsKind(SyntaxKind.OpenParenToken) 33Return token.IsKind(SyntaxKind.CloseParenToken)
BraceCompletion\StringLiteralBraceCompletionService.vb (2)
39Return token.IsKind(SyntaxKind.StringLiteralToken) 43Return token.IsKind(SyntaxKind.StringLiteralToken)
ChangeSignature\ChangeSignatureFormattingRule.vb (1)
37If previousToken.IsKind(SyntaxKind.CommaToken) AndAlso
CodeFixes\GenerateEvent\GenerateEventCodeFixProvider.vb (2)
222ElseIf eventExpression.DescendantTokens().Where(Function(n) n.IsKind(SyntaxKind.MyBaseKeyword)).Any Then 341ElseIf keywordEventContainer.Keyword.IsKind(SyntaxKind.MyBaseKeyword) Then
Completion\CompletionProviders\AwaitCompletionProvider.vb (1)
85If Not dotToken.IsKind(SyntaxKind.DotToken) Then
Completion\CompletionProviders\CompletionListTagCompletionProvider.vb (1)
41If syntaxContext.TargetToken.IsKind(SyntaxKind.DotToken) Then
Completion\CompletionProviders\EnumCompletionProvider.vb (1)
54If syntaxContext.TargetToken.IsKind(SyntaxKind.DotToken) Then
Completion\CompletionProviders\NamedParameterCompletionProvider.vb (1)
89Dim textSuffix = If(rightToken.IsKind(SyntaxKind.ColonEqualsToken), Nothing, s_colonEquals)
Completion\CompletionProviders\XmlDocCommentCompletionProvider.vb (4)
69If token.IsKind(SyntaxKind.XmlTextLiteralToken) AndAlso 100ElseIf token.IsKind(SyntaxKind.XmlNameToken) AndAlso token.GetPreviousToken().IsKind(SyntaxKind.LessThanSlashToken) Then 137Dim xmlNameOnly = token.IsKind(SyntaxKind.LessThanToken) OrElse token.Parent.IsKind(SyntaxKind.XmlName)
Completion\KeywordRecommenders\Declarations\AttributeScopesKeywordRecommender.vb (1)
30If targetToken.IsKind(SyntaxKind.LessThanToken) AndAlso
Completion\KeywordRecommenders\Declarations\EndBlockKeywordRecommender.vb (1)
25If targetToken.IsKind(SyntaxKind.EndKeyword) AndAlso
Completion\KeywordRecommenders\Declarations\OfKeywordRecommender.vb (3)
22If Not targetToken.IsKind(SyntaxKind.OpenParenToken) Then 45If targetToken.IsKind(SyntaxKind.OpenParenToken) AndAlso targetToken.Parent.IsKind(SyntaxKind.TypeArgumentList) Then 52If targetToken.IsKind(SyntaxKind.OpenParenToken) AndAlso targetToken.Parent.IsKind(SyntaxKind.TypeArgumentList) Then
Completion\KeywordRecommenders\Declarations\OverloadableOperatorRecommender.vb (1)
24If Not targetToken.IsKind(SyntaxKind.OperatorKeyword) OrElse
Completion\KeywordRecommenders\Expressions\NewKeywordRecommender.vb (1)
37Function(m) m.IsKind(SyntaxKind.WriteOnlyKeyword))) Then
Completion\KeywordRecommenders\OnErrorStatements\ErrorKeywordRecommender.vb (1)
20If targetToken.IsKind(SyntaxKind.OnKeyword) AndAlso IsOnErrorStatement(targetToken.Parent) Then
Completion\KeywordRecommenders\OnErrorStatements\NextKeywordRecommender.vb (1)
26Return If(targetToken.IsKind(SyntaxKind.ResumeKeyword) AndAlso Not context.IsInLambda AndAlso targetToken.Parent.IsKind(SyntaxKind.OnErrorResumeNextStatement, SyntaxKind.ResumeStatement, SyntaxKind.ResumeNextStatement),
Completion\KeywordRecommenders\OptionStatements\CompareBinaryTextRecommender.vb (1)
26Return If(context.TargetToken.IsKind(SyntaxKind.CompareKeyword), s_keywords, ImmutableArray(Of RecommendedKeyword).Empty)
Completion\KeywordRecommenders\OptionStatements\ExplicitOptionsRecommender.vb (1)
26Return If(context.TargetToken.IsKind(SyntaxKind.ExplicitKeyword), s_keywords, ImmutableArray(Of RecommendedKeyword).Empty)
Completion\KeywordRecommenders\OptionStatements\InferOptionsRecommender.vb (1)
26Return If(context.TargetToken.IsKind(SyntaxKind.InferKeyword), s_keywords, ImmutableArray(Of RecommendedKeyword).Empty)
Completion\KeywordRecommenders\OptionStatements\OptionNamesRecommender.vb (1)
28Return If(context.TargetToken.IsKind(SyntaxKind.OptionKeyword), s_keywords, ImmutableArray(Of RecommendedKeyword).Empty)
Completion\KeywordRecommenders\OptionStatements\StrictOptionsRecommender.vb (1)
26Return If(context.TargetToken.IsKind(SyntaxKind.StrictKeyword), s_keywords, ImmutableArray(Of RecommendedKeyword).Empty)
Completion\KeywordRecommenders\PreprocessorDirectives\WarningDirectiveKeywordRecommender.vb (2)
23If context.TargetToken.IsKind(SyntaxKind.EnableKeyword) Then 25ElseIf context.TargetToken.IsKind(SyntaxKind.DisableKeyword) Then
Completion\KeywordRecommenders\Statements\DoKeywordRecommender.vb (1)
37If targetToken.IsKind(SyntaxKind.ExitKeyword) Then
Completion\KeywordRecommenders\Statements\EachKeywordRecommender.vb (1)
28If targetToken.IsKind(SyntaxKind.ForKeyword) AndAlso targetToken.Parent.IsKind(SyntaxKind.ForStatement) Then
Completion\KeywordRecommenders\Statements\ElseKeywordRecommender.vb (1)
53If context.TargetToken.IsKind(SyntaxKind.ThenKeyword) AndAlso
Completion\KeywordRecommenders\Statements\ForKeywordRecommender.vb (1)
34If targetToken.IsKind(SyntaxKind.ExitKeyword) Then
Completion\KeywordRecommenders\Statements\SelectKeywordRecommender.vb (1)
23If targetToken.IsKind(SyntaxKind.ExitKeyword) AndAlso
Completion\KeywordRecommenders\Statements\TryKeywordRecommender.vb (1)
28If targetToken.IsKind(SyntaxKind.ExitKeyword) AndAlso
Completion\KeywordRecommenders\Statements\WhileLoopKeywordRecommender.vb (1)
34If(targetToken.IsKind(SyntaxKind.ExitKeyword),
ConvertAutoPropertyToFullProperty\VisualBasicConvertAutoPropertyToFullProperty.vb (1)
70If modifier.IsKind(SyntaxKind.ReadOnlyKeyword) Then
Debugging\BreakpointResolver.vb (2)
42If methodBlock.BlockStatement.Modifiers.Any(Function(t) t.IsKind(SyntaxKind.PartialKeyword)) Then 89Return If(SyntaxFactory.ParseToken(text, offset).IsKind(SyntaxKind.OpenParenToken),
Debugging\DataTipInfoGetter.vb (2)
19If token.IsKind(SyntaxKind.CommaToken) Then 31Return If(token.IsKind(SyntaxKind.IdentifierToken),
EditAndContinue\VisualBasicEditAndContinueAnalyzer.vb (1)
1242Not memberAccess.Name.Identifier.IsKind(SyntaxKind.IdentifierToken) Then
GenerateMember\GenerateParameterizedMember\VisualBasicCommonGenerationServiceMethods.vb (1)
16If optionStatement?.ValueKeyword.IsKind(SyntaxKind.OnKeyword) Then
GenerateType\VisualBasicGenerateTypeService.vb (6)
141Not token.IsKind(SyntaxKind.DotToken) Then 152If token.IsKind(SyntaxKind.DotToken) AndAlso 167If simpleName.IsLeftSideOfDot() OrElse nextToken.IsKind(SyntaxKind.DotToken) Then 184If nextToken.IsKind(SyntaxKind.DotToken) Then 210If nextToken.IsKind(SyntaxKind.DotToken) Then 233If Not nextToken.IsKind(SyntaxKind.DotToken) AndAlso
QuickInfo\VisualBasicSemanticQuickInfoProvider.vb (1)
152If token.IsKind(SyntaxKind.DotToken) AndAlso
RemoveSharedFromModuleMembers\VisualBasicRemoveSharedFromModuleMembersCodeFixProvider.vb (1)
42If Not tokenToRemove.IsKind(SyntaxKind.SharedKeyword) Then
SignatureHelp\CollectionInitializerSignatureHelpProvider.vb (1)
38Return Not token.IsKind(SyntaxKind.None) AndAlso
Structure\VisualBasicStructureHelpers.vb (3)
98If startToken.IsKind(SyntaxKind.None) OrElse endToken.IsKind(SyntaxKind.None) Then 145If(eventStatement.CustomKeyword.IsKind(SyntaxKind.None), eventStatement.DeclarationKeyword, eventStatement.CustomKeyword))
VisualBasicRemoveUnnecessaryByValCodeFixProvider.vb (1)
41Dim tokenList = SyntaxFactory.TokenList(node.Modifiers.Where(Function(m) Not m.IsKind(SyntaxKind.ByValKeyword)))
VisualBasicRemoveUnnecessaryByValDiagnosticAnalyzer.vb (1)
28If modifier.IsKind(SyntaxKind.ByValKeyword) Then
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (1)
TestSyntaxNodes.vb (1)
1484Dim tokens = expr.DescendantTokens().Where(Function(t) t.IsKind(SyntaxKind.IdentifierToken)).ToList()
Microsoft.CodeAnalysis.VisualBasic.Workspaces (41)
CaseCorrection\VisualBasicCaseCorrectionService.vb (1)
42Dim candidates = root.DescendantTokens(span).Where(Function(tk As SyntaxToken) tk.Width > 0 OrElse tk.IsKind(SyntaxKind.EndOfFileToken))
CodeCleanup\Providers\NormalizeModifiersOrOperatorsCodeCleanupProvider.vb (1)
276If token.IsMissing OrElse Not (SyntaxFacts.IsOperator(token.Kind) OrElse token.IsKind(SyntaxKind.ColonEqualsToken)) Then
CodeGeneration\VisualBasicCodeGenerationService.vb (1)
424ComputePositionAndTriviaForRemoveAttributeFromAttributeList(attributeToRemove, Function(t As SyntaxToken) t.IsKind(SyntaxKind.CommaToken), positionOfRemovedNode, trivia)
CodeGeneration\VisualBasicSyntaxGenerator.vb (3)
1477Dim mods = SyntaxFactory.TokenList(propertyStatement.Modifiers.Where(Function(tk) tk.IsKind(SyntaxKind.ReadOnlyKeyword) Or tk.IsKind(SyntaxKind.DefaultKeyword))) 1720Return attr.Target IsNot Nothing AndAlso attr.Target.AttributeModifier.IsKind(SyntaxKind.AssemblyKeyword)
Formatting\Rules\NodeBasedFormattingRule.vb (2)
140If (Item1PreviousToken.IsKind(SyntaxKind.GreaterThanToken) AndAlso 153If nextTokenAfterCase.IsKind(SyntaxKind.CaseKeyword) Then
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\SyntaxTreeExtensions.vb\SyntaxTreeExtensions.vb (4)
191If token.IsKind(SyntaxKind.StringLiteralToken) Then 219Dim lastChar = If(token.IsKind(SyntaxKind.CharacterLiteralToken), "'", """") 227If token.IsKind(SyntaxKind.CharacterLiteralToken) Then 304If token.IsKind(SyntaxKind.None) Then
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ContextQuery\SyntaxTokenExtensions.vb\SyntaxTokenExtensions.vb (4)
97If targetToken.IsKind(SyntaxKind.HashToken) AndAlso targetToken.TrailingTrivia.Any(Function(t) 100Return childTokens.Count() = 1 AndAlso childTokens.First().IsKind(SyntaxKind.EndKeyword) 108Return targetToken.IsKind(SyntaxKind.EndKeyword) AndAlso 109targetToken.GetPreviousToken().IsKind(SyntaxKind.HashToken) AndAlso
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ContextQuery\SyntaxTreeExtensions.vb\SyntaxTreeExtensions.vb (5)
27If Not token.IsKind(SyntaxKind.EmptyToken) AndAlso token.Span.End < position Then 469If targetToken.IsKind(SyntaxKind.DotToken) AndAlso 778If Not targetToken.IsKind(SyntaxKind.DotToken) OrElse 1079If tokenOnLeftOfPosition.IsKind(SyntaxKind.OpenParenToken) Then 1084Return tokenOnLeftOfPosition.IsKind(SyntaxKind.CommaToken) AndAlso
ModifierCollectionFacts.vb (3)
53If _accessibilityKeyword.IsKind(SyntaxKind.ProtectedKeyword) Then 63If targetToken.IsKind(SyntaxKind.ProtectedKeyword) AndAlso _accessibilityKeyword.IsKind(SyntaxKind.FriendKeyword) Then
ParenthesizedExpressionSyntaxExtensions.vb (1)
186If firstToken.IsKind(SyntaxKind.LessThanToken) AndAlso
Recommendations\VisualBasicRecommendationServiceRunner.vb (3)
57ElseIf _context.TargetToken.IsKind(SyntaxKind.ForKeyword) Then 144If Not _context.TargetToken.IsKind(SyntaxKind.OpenParenToken) OrElse 295Dim unwrapNullable = _context.TargetToken.GetPreviousToken().IsKind(SyntaxKind.QuestionToken)
Rename\VisualBasicRenameRewriterLanguageService.vb (1)
285If newToken.IsKind(SyntaxKind.NewKeyword) Then
VisualBasicIndentationService.Indenter.vb (6)
157If containingToken.IsKind(SyntaxKind.InterpolatedStringTextToken) OrElse 158containingToken.IsKind(SyntaxKind.InterpolatedStringText) OrElse 159(containingToken.IsKind(SyntaxKind.CloseBraceToken) AndAlso token.Parent.IsKind(SyntaxKind.Interpolation)) Then 181If Not lastVisibleTokenOnPreviousLine.IsKind(SyntaxKind.OpenBraceToken) AndAlso 182Not lastVisibleTokenOnPreviousLine.IsKind(SyntaxKind.CommaToken) Then 204If visibleTokenOnCurrentLine.IsKind(SyntaxKind.CloseBraceToken) Then
VisualBasicSyntaxContext.vb (3)
259If targetToken.IsKind(SyntaxKind.HashToken) AndAlso targetToken.Span.End = position Then 293Return (TargetToken.IsKind(SyntaxKind.CloseParenToken) AndAlso 300(TargetToken.IsKind(SyntaxKind.IdentifierToken) AndAlso
VisualBasicSyntaxFacts.vb (1)
1260Return attributeNode.Target.AttributeModifier.IsKind(attributeTarget)
VisualBasicTypeInferenceService.TypeInferrer.vb (2)
204ElseIf previousToken.IsKind(SyntaxKind.CommaToken) Then 759If previoustoken <> Nothing AndAlso Not previoustoken.IsKind(SyntaxKind.YieldKeyword) Then
Microsoft.VisualStudio.LanguageServices.VisualBasic (7)
Help\VisualBasicHelpContextService.Visitor.vb (7)
500If node.AscendingOrDescendingKeyword.IsKind(SyntaxKind.AscendingKeyword) Then 639If node.OperatorToken.IsKind(SyntaxKind.MinusToken) Then 643If node.OperatorToken.IsKind(SyntaxKind.AddressOfKeyword) Then 795If token.IsKind(kind1) AndAlso list.Any(Function(t) t.IsKind(kind2)) Then 800If token.IsKind(kind2) AndAlso list.Any(Function(t) t.IsKind(kind1)) Then