22 references to ColonTrivia
Microsoft.CodeAnalysis.VisualBasic (22)
Generated\Syntax.xml.Internal.Generated.vb (2)
45734
Return New SyntaxTrivia(SyntaxKind.
ColonTrivia
, text)
57800
Return New SyntaxTrivia(SyntaxKind.
ColonTrivia
, text, _factoryContext)
Generated\Syntax.xml.Main.Generated.vb (3)
42820
Return New SyntaxTrivia(Nothing, New InternalSyntax.SyntaxTrivia(SyntaxKind.
ColonTrivia
, Nothing, Nothing, text), 0, 0)
45318
SyntaxKind.
ColonTrivia
,
45856
Case SyntaxKind.
ColonTrivia
Parser\BlockContexts\MethodBlockContext.vb (1)
33
trailingTrivia.Kind = SyntaxKind.
ColonTrivia
Then
Parser\ParseInterpolatedString.vb (3)
284
ElseIf triviaList(0).Kind = SyntaxKind.
ColonTrivia
290
If triviaList(i).Kind = SyntaxKind.
ColonTrivia
Then
302
Debug.Assert(triviaList.GetEndOfTrivia(indexOfFirstColon + 1).AnyAndOnly(SyntaxKind.
ColonTrivia
, SyntaxKind.WhitespaceTrivia))
Parser\Parser.vb (1)
447
ElseIf lastTrivia.Kind = SyntaxKind.
ColonTrivia
Then
Parser\ParseStatement.vb (1)
1586
If trivia(i).Kind = SyntaxKind.
ColonTrivia
Then
Parser\ParseXml.vb (2)
1589
Return node.Kind = SyntaxKind.
ColonTrivia
AndAlso node.ToString() = ":"
1614
Debug.Assert(trailingTrivia.Last.Kind = SyntaxKind.
ColonTrivia
)
Scanner\TokenFactories.vb (1)
185
Dim key = New TriviaKey(text, SyntaxKind.
ColonTrivia
)
Scanner\TokenStream.vb (2)
274
Debug.Assert(tk.LastTriviaIfAny().Kind = SyntaxKind.
ColonTrivia
)
298
Debug.Assert(lastTrivia.Kind = SyntaxKind.
ColonTrivia
)
Syntax\InternalSyntax\SyntaxNodeExtensions.vb (2)
80
(trailingTrivia.Kind = SyntaxKind.EndOfLineTrivia OrElse trailingTrivia.Kind = SyntaxKind.
ColonTrivia
)
366
Case SyntaxKind.
ColonTrivia
Syntax\SyntaxFacts.vb (1)
209
If trivia.Kind = SyntaxKind.EndOfLineTrivia OrElse trivia.Kind = SyntaxKind.
ColonTrivia
Then
Syntax\SyntaxNormalizer.vb (3)
212
Not (trivia.Kind = SyntaxKind.
ColonTrivia
AndAlso tokenParent IsNot Nothing AndAlso tokenParent.Kind = SyntaxKind.LabelStatement) AndAlso
303
Return (token.HasTrailingTrivia AndAlso token.TrailingTrivia.Last.Kind = SyntaxKind.
ColonTrivia
) OrElse
709
node.TrailingTrivia.Last.Kind = SyntaxKind.
ColonTrivia