22 references to IsKind
Microsoft.CodeAnalysis.VisualBasic (5)
Symbols\Source\SourceMethodSymbol.vb (2)
2085Debug.Assert(Me.IsAccessor OrElse retType.GetArity() = 0 OrElse Not (errorLocation.IsKind(SyntaxKind.None))) ' if we could have constraint errors, the location better exist. 2157If Not errorLocation.IsKind(SyntaxKind.None) Then
Symbols\Source\SourcePropertyAccessorSymbol.vb (1)
190If Not errorLocation.IsKind(SyntaxKind.None) Then
Syntax\SyntaxNodeRemover.vb (1)
199If alternate IsNot Nothing AndAlso Not visited.IsKind(SyntaxKind.None) Then
Syntax\VisualBasicSyntaxNode.vb (1)
249Debug.Assert(Not n.IsKind(SyntaxKind.None))
Microsoft.CodeAnalysis.VisualBasic.Features (1)
CodeRefactorings\InlineTemporary\VisualBasicInlineTemporaryCodeRefactoringProvider.vb (1)
244If nodeOrToken.IsKind(SyntaxKind.IdentifierName) Then
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (9)
IncrementalParser\IncrementalParser.vb (6)
913Assert.True(diffs.Any(Function(n) n.IsKind(SyntaxKind.MultiLineIfBlock))) 942Assert.False(diffs.Any(Function(n) n.IsKind(SyntaxKind.MultiLineIfBlock))) 971Assert.False(diffs.Any(Function(n) n.IsKind(SyntaxKind.MultiLineIfBlock))) 1060Assert.False(diffs.Any(Function(n) n.IsKind(SyntaxKind.NamespaceBlock))) 2499Assert.False(diffs.Any(Function(n) n.IsKind(SyntaxKind.StructureStatement))) 2553Assert.False(diffs.Any(Function(n) n.IsKind(SyntaxKind.ElseIfBlock)))
Syntax\SyntaxListTests.vb (3)
220Assert.True(openParen.IsKind(SyntaxKind.OpenParenToken)) 233Assert.True(item.IsKind(SyntaxKind.SimpleArgument)) 239Assert.True(item.IsKind(SyntaxKind.CommaToken))
Microsoft.CodeAnalysis.VisualBasic.Test.Utilities (7)
ParserTestUtilities.vb (7)
674If node.IsKind(kind) Then 724If node.IsKind(kind) Then 783Assert.False(node.IsMissing AndAlso Not node.IsKind(SyntaxKind.StatementTerminatorToken) AndAlso 784Not node.IsKind(SyntaxKind.ColonToken), "Unexpected missing token: " & node.Kind().ToString & node.Span.ToString) 805Assert.True(0 <> node.Span.Length OrElse node.IsKind(SyntaxKind.EndOfFileToken) OrElse node.IsKind(SyntaxKind.StatementTerminatorToken) OrElse node.IsKind(SyntaxKind.ColonToken), "Unexpected 0 width token: " & node.Kind().ToString & node.Span.ToString)