7 references to IsKind
Microsoft.CodeAnalysis.VisualBasic.Workspaces (7)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\SyntaxNodeExtensions.vb (2)
25
IsKind
(node.Parent, kind1, kind2)
421
ElseIf directiveSyntax.
IsKind
(SyntaxKind.ElseDirectiveTrivia, SyntaxKind.ElseIfDirectiveTrivia) Then
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ContextQuery\SyntaxTreeExtensions.vb (2)
359
directive.
IsKind
(SyntaxKind.IfDirectiveTrivia, SyntaxKind.ElseIfDirectiveTrivia) Then
1085
tokenOnLeftOfPosition.Parent.
IsKind
(SyntaxKind.TupleExpression, SyntaxKind.TupleType)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ContextQuery\VisualBasicSyntaxContext.vb (1)
179
isGenericConstraintContext:=targetToken.Parent.
IsKind
(SyntaxKind.TypeParameterSingleConstraintClause, SyntaxKind.TypeParameterMultipleConstraintClause),
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ExpressionSyntaxExtensions.vb (1)
96
If Not expression.
IsKind
(SyntaxKind.CollectionInitializer, SyntaxKind.InterpolatedStringExpression) Then
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ParameterSyntaxExtensions.vb (1)
16
parameter.Parent.Parent.
IsKind
(SyntaxKind.FunctionLambdaHeader, SyntaxKind.SubLambdaHeader) Then