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