14 references to CommentTrivia
Microsoft.CodeAnalysis.VisualBasic (14)
Compilation\DocumentationComments\DocumentationCommentCompiler.Common.vb (1)
692Case SyntaxKind.CommentTrivia
Compilation\VisualBasicCompilation.vb (1)
2323Dim isComment As Func(Of SyntaxTrivia, Boolean) = Function(trivia As SyntaxTrivia) trivia.Kind() = SyntaxKind.CommentTrivia
Generated\Syntax.xml.Internal.Generated.vb (2)
45748Return New SyntaxTrivia(SyntaxKind.CommentTrivia, text) 57814Return New SyntaxTrivia(SyntaxKind.CommentTrivia, text, _factoryContext)
Generated\Syntax.xml.Main.Generated.vb (2)
42836Return New SyntaxTrivia(Nothing, New InternalSyntax.SyntaxTrivia(SyntaxKind.CommentTrivia, Nothing, Nothing, text), 0, 0) 45319SyntaxKind.CommentTrivia,
Scanner\TokenFactories.vb (1)
223Return SyntaxFactory.SyntaxTrivia(SyntaxKind.CommentTrivia, text)
Syntax\InternalSyntax\SyntaxNode.vb (1)
244Return Me.Kind = SyntaxKind.EndOfLineTrivia OrElse Me.Kind = SyntaxKind.CommentTrivia
Syntax\InternalSyntax\SyntaxNodeExtensions.vb (2)
376Case SyntaxKind.CommentTrivia 668If kind = SyntaxKind.CommentTrivia Then
Syntax\SyntaxNodeRemover.vb (1)
92Return trivia.Kind = SyntaxKind.EndOfLineTrivia OrElse trivia.Kind = SyntaxKind.CommentTrivia OrElse trivia.IsDirective
Syntax\SyntaxNormalizer.vb (3)
365Case SyntaxKind.CommentTrivia, SyntaxKind.DocumentationCommentExteriorTrivia, SyntaxKind.EmptyStatement, 389Return trivia.Kind = SyntaxKind.CommentTrivia 404Case SyntaxKind.CommentTrivia,