24 references to WhitespaceTrivia
Microsoft.CodeAnalysis.VisualBasic (24)
CommandLine\VisualBasicCommandLineParser.vb (1)
1935If Not eof.LeadingTrivia.All(Function(t) t.Kind = SyntaxKind.WhitespaceTrivia) Then
Generated\Syntax.xml.Internal.Generated.vb (2)
45706Return New SyntaxTrivia(SyntaxKind.WhitespaceTrivia, text) 57772Return New SyntaxTrivia(SyntaxKind.WhitespaceTrivia, text, _factoryContext)
Generated\Syntax.xml.Main.Generated.vb (2)
42788Return New SyntaxTrivia(Nothing, New InternalSyntax.SyntaxTrivia(SyntaxKind.WhitespaceTrivia, Nothing, Nothing, text), 0, 0) 45316SyntaxKind.WhitespaceTrivia,
Parser\ParseInterpolatedString.vb (1)
302Debug.Assert(triviaList.GetEndOfTrivia(indexOfFirstColon + 1).AnyAndOnly(SyntaxKind.ColonTrivia, SyntaxKind.WhitespaceTrivia))
Parser\Parser.vb (2)
312If trivia.Kind = SyntaxKind.WhitespaceTrivia Then 5730If kind <> SyntaxKind.WhitespaceTrivia AndAlso kind <> SyntaxKind.LineContinuationTrivia Then
Parser\ParseXml.vb (2)
1489Case SyntaxKind.WhitespaceTrivia 2415If trivia.Kind = SyntaxKind.WhitespaceTrivia OrElse trivia.Kind = SyntaxKind.EndOfLineTrivia Then
Scanner\Scanner.vb (1)
957If tList(i).RawKind <> SyntaxKind.WhitespaceTrivia Then
Scanner\TokenFactories.vb (7)
47table.Add(New TriviaKey(" ", SyntaxKind.WhitespaceTrivia), s_singleSpaceWhitespaceTrivia) 48table.Add(New TriviaKey(" ", SyntaxKind.WhitespaceTrivia), s_fourSpacesWhitespaceTrivia) 49table.Add(New TriviaKey(" ", SyntaxKind.WhitespaceTrivia), s_eightSpacesWhitespaceTrivia) 50table.Add(New TriviaKey(" ", SyntaxKind.WhitespaceTrivia), s_twelveSpacesWhitespaceTrivia) 51table.Add(New TriviaKey(" ", SyntaxKind.WhitespaceTrivia), s_sixteenSpacesWhitespaceTrivia) 141Case SyntaxKind.WhitespaceTrivia, 162Dim key = New TriviaKey(text, SyntaxKind.WhitespaceTrivia)
Syntax\InternalSyntax\SyntaxFactory.vb (1)
54Dim trivia = SyntaxTrivia(SyntaxKind.WhitespaceTrivia, text)
Syntax\InternalSyntax\SyntaxNodeExtensions.vb (1)
647If kind = SyntaxKind.WhitespaceTrivia OrElse
Syntax\InternalSyntax\SyntaxToken.vb (2)
44Return leadingTrivia.RawKind = SyntaxKind.WhitespaceTrivia AndAlso leadingTrivia.Flags = NodeFlags.IsNotMissing AndAlso 45trailingTrivia.RawKind = SyntaxKind.WhitespaceTrivia AndAlso trailingTrivia.Flags = NodeFlags.IsNotMissing AndAlso
Syntax\SyntaxNormalizer.vb (2)
201If trivia.Kind = SyntaxKind.WhitespaceTrivia OrElse 349SyntaxKind.WhitespaceTrivia,