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