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