31 references to Kind
Microsoft.CodeAnalysis.VisualBasic (31)
Binding\DocumentationCommentCrefBinder.vb (1)
46If trivia.Kind = SyntaxKind.SkippedTokensTrivia Then
Binding\MemberSemanticModel.vb (2)
1272Debug.Assert(trivia.Kind <> SyntaxKind.None) 1984Debug.Assert(trivia.Kind <> SyntaxKind.None)
Compilation\DocumentationComments\DocumentationCommentCompiler.Common.vb (1)
681Select Case trivia.Kind
Compilation\DocumentationComments\UnprocessedDocumentationCommentFinder.vb (1)
135If trivia.Kind = SyntaxKind.DocumentationCommentTrivia Then
Compilation\SyntaxTreeSemanticModel.vb (1)
588If trivia.Kind = SyntaxKind.None Then
Compilation\VisualBasicCompilation.vb (1)
2323Dim isComment As Func(Of SyntaxTrivia, Boolean) = Function(trivia As SyntaxTrivia) trivia.Kind() = SyntaxKind.CommentTrivia
Syntax\SyntaxFacts.vb (2)
209If trivia.Kind = SyntaxKind.EndOfLineTrivia OrElse trivia.Kind = SyntaxKind.ColonTrivia Then
Syntax\SyntaxNodeRemover.vb (3)
87Return trivia.Kind = SyntaxKind.EndOfLineTrivia OrElse trivia.Kind = SyntaxKind.CommentTrivia OrElse trivia.IsDirective 329If directiveTriviaListIndex >= 1 AndAlso triviaList(directiveTriviaListIndex - 1).Kind() = SyntaxKind.WhitespaceTrivia Then
Syntax\SyntaxNormalizer.vb (17)
201If trivia.Kind = SyntaxKind.WhitespaceTrivia OrElse 202trivia.Kind = SyntaxKind.EndOfLineTrivia OrElse 203trivia.Kind = SyntaxKind.LineContinuationTrivia OrElse 212Not (trivia.Kind = SyntaxKind.ColonTrivia AndAlso tokenParent IsNot Nothing AndAlso tokenParent.Kind = SyntaxKind.LabelStatement) AndAlso 245If trivia.Kind = SyntaxKind.DocumentationCommentExteriorTrivia Then 303Return (token.HasTrailingTrivia AndAlso token.TrailingTrivia.Last.Kind = SyntaxKind.ColonTrivia) OrElse 331If SyntaxFacts.IsPreprocessorDirective(trivia.Kind) Then 347Select Case trivia.Kind 355Return Not SyntaxFacts.IsPreprocessorDirective(trivia.Kind) 364Select Case nextTrivia.Kind 389Return trivia.Kind = SyntaxKind.CommentTrivia 393Select Case trivia.Kind 403Select Case trivia.Kind 619If trivia.Kind = SyntaxKind.EndOfLineTrivia Then 623If trivia.Kind = SyntaxKind.DisabledTextTrivia Then 630trivia.GetStructure.GetLastToken.TrailingTrivia.Last.Kind = SyntaxKind.EndOfLineTrivia Then 709node.TrailingTrivia.Last.Kind = SyntaxKind.ColonTrivia
Syntax\VisualBasicSyntaxNode.vb (1)
251Debug.Assert(n.Kind <> SyntaxKind.None)
Syntax\VisualBasicSyntaxRewriter.vb (1)
206If alternate IsNot Nothing AndAlso visited.Kind() <> SyntaxKind.None Then