74 references to ColonToken
Microsoft.CodeAnalysis.VisualBasic (74)
CommandLine\VisualBasicCommandLineParser.vb (5)
1900While tokens.Current.Kind = SyntaxKind.CommaToken OrElse tokens.Current.Kind = SyntaxKind.ColonToken 2054tokens.Current.Kind = SyntaxKind.ColonToken OrElse 2113Return token.Kind = SyntaxKind.EndOfFileToken OrElse token.Kind = SyntaxKind.ColonToken OrElse token.Kind = SyntaxKind.CommaToken 2125If tokens.Current.Kind = SyntaxKind.ColonToken AndAlso tokens.Current.FullWidth = 0 Then 2126remainderErrorLine.Append(SyntaxFacts.GetText(SyntaxKind.ColonToken))
Generated\Syntax.xml.Internal.Generated.vb (8)
37534Debug.Assert(colonToken IsNot Nothing AndAlso colonToken.Kind = SyntaxKind.ColonToken) 37800Debug.Assert(colonToken IsNot Nothing AndAlso colonToken.Kind = SyntaxKind.ColonToken) 44842Debug.Assert(colonToken IsNot Nothing AndAlso colonToken.Kind = SyntaxKind.ColonToken) 45678Debug.Assert(colonToken IsNot Nothing AndAlso colonToken.Kind = SyntaxKind.ColonToken) 49600Debug.Assert(colonToken IsNot Nothing AndAlso colonToken.Kind = SyntaxKind.ColonToken) 49866Debug.Assert(colonToken IsNot Nothing AndAlso colonToken.Kind = SyntaxKind.ColonToken) 56908Debug.Assert(colonToken IsNot Nothing AndAlso colonToken.Kind = SyntaxKind.ColonToken) 57744Debug.Assert(colonToken IsNot Nothing AndAlso colonToken.Kind = SyntaxKind.ColonToken)
Generated\Syntax.xml.Main.Generated.vb (11)
12472Case SyntaxKind.ColonToken 12488Return SyntaxFactory.AttributeTarget(attributeModifier, SyntaxFactory.Token(SyntaxKind.ColonToken)) 13064Case SyntaxKind.ColonToken 13080Return SyntaxFactory.LabelStatement(labelToken, SyntaxFactory.Token(SyntaxKind.ColonToken)) 13092Return SyntaxFactory.LabelStatement(SyntaxFactory.Identifier(labelToken), SyntaxFactory.Token(SyntaxKind.ColonToken)) 40678Case SyntaxKind.ColonToken 40690Return SyntaxFactory.XmlPrefix(SyntaxFactory.Token(SyntaxKind.XmlNameToken), SyntaxFactory.Token(SyntaxKind.ColonToken)) 42754Case SyntaxKind.ColonToken 42772Return SyntaxFactory.InterpolationFormatClause(SyntaxFactory.Token(SyntaxKind.ColonToken), SyntaxFactory.Token(SyntaxKind.InterpolatedStringTextToken)) 45218SyntaxKind.ColonToken, 45786Case SyntaxKind.ColonToken
Parser\BlockContexts\ExecutableStatementContext.vb (1)
224Case SyntaxKind.ColonToken
Parser\BlockContexts\SingleLineElseContext.vb (2)
89Case SyntaxKind.ColonToken 106Case SyntaxKind.StatementTerminatorToken, SyntaxKind.EndOfFileToken, SyntaxKind.ColonToken
Parser\BlockContexts\SingleLineIfBlockContext.vb (2)
94Case SyntaxKind.ColonToken 108Case SyntaxKind.StatementTerminatorToken, SyntaxKind.EndOfFileToken, SyntaxKind.ColonToken
Parser\BlockContexts\SingleLineLambdaContext.vb (1)
76Case SyntaxKind.ColonToken
Parser\ParseExpression.vb (1)
1785If isMultiLine OrElse CurrentToken.Kind = SyntaxKind.ColonToken Then
Parser\ParseInterpolatedString.vb (8)
111If CurrentToken.Kind = SyntaxKind.ColonToken Then 120If CurrentToken.Kind = SyntaxKind.ColonToken Then 133If CurrentToken.Kind = SyntaxKind.ColonToken Then 145If CurrentToken.Kind = SyntaxKind.ColonToken Then 159If CurrentToken.Kind = SyntaxKind.ColonToken Then 182If CurrentToken.Kind = SyntaxKind.ColonToken AndAlso colonToken IsNot Nothing Then 224If CurrentToken.Kind = SyntaxKind.ColonToken Then 308colonToken = New PunctuationSyntax(SyntaxKind.ColonToken, firstColonTrivia.Text, Nothing, Nothing)
Parser\Parser.vb (11)
457If curNodeLabel IsNot Nothing AndAlso curNodeLabel.ColonToken.Kind = SyntaxKind.ColonToken Then 755Case SyntaxKind.ColonToken, 1177Case SyntaxKind.ColonToken, 2466CurrentToken.Kind <> SyntaxKind.ColonToken Then 4831Dim missingColon = InternalSyntaxFactory.MissingPunctuation(SyntaxKind.ColonToken) 5482colonToken = InternalSyntaxFactory.MissingPunctuation(SyntaxKind.ColonToken) 5487If CurrentToken.Kind = SyntaxKind.ColonToken Then 5498Debug.Assert(current.Kind = SyntaxKind.ColonToken) 5502colonToken = DirectCast(HandleUnexpectedToken(SyntaxKind.ColonToken), PunctuationSyntax) 5772Debug.Assert(CurrentToken.Kind = SyntaxKind.ColonToken) 5789Case SyntaxKind.ColonToken
Parser\ParseStatement.vb (4)
1570Return IsFirstStatementOnLine(CurrentToken) AndAlso PeekToken(1).Kind = SyntaxKind.ColonToken 1578If labelName.Kind = SyntaxKind.IntegerLiteralToken AndAlso CurrentToken.Kind <> SyntaxKind.ColonToken Then 1579Return ReportSyntaxError(SyntaxFactory.LabelStatement(labelName, InternalSyntaxFactory.MissingPunctuation(SyntaxKind.ColonToken)), ERRID.ERR_ObsoleteLineNumbersAreLabels) 1597Dim colonToken = New PunctuationSyntax(SyntaxKind.ColonToken, colonTrivia.Text, Nothing, trivia.Node)
Parser\ParseXml.vb (3)
1553If CurrentToken.Kind = SyntaxKind.ColonToken Then 2366SyntaxKind.ColonToken 2404SyntaxKind.ColonToken
Scanner\Directives.vb (2)
589If nextKind = SyntaxKind.StatementTerminatorToken OrElse nextKind = SyntaxKind.ColonToken Then 603If nextKind = SyntaxKind.StatementTerminatorToken OrElse nextKind = SyntaxKind.ColonToken Then
Scanner\ScannerInterpolatedString.vb (1)
67kind = SyntaxKind.ColonToken
Scanner\TokenStream.vb (2)
276Debug.Assert(_currentToken.InnerTokenObject.Kind = SyntaxKind.ColonToken) 305tk = MakePunctuationToken(SyntaxKind.ColonToken, lastTrivia.Text, precedingTrivia, followingTrivia)
Scanner\XmlTokenFactories.vb (1)
57Return MakePunctuationToken(SyntaxKind.ColonToken, ":", precedingTrivia, followingTrivia)
Syntax\InternalSyntax\SyntaxNodeFactories.vb (2)
376SyntaxKind.ColonToken, 507s_colonToken = New PunctuationSyntax(SyntaxKind.ColonToken, "", Nothing, Nothing)
Syntax\SyntaxFacts.vb (2)
984Case SyntaxKind.ColonToken 1154kind = SyntaxKind.ColonToken OrElse
Syntax\SyntaxKindFacts.vb (1)
317SyntaxKind.ColonToken,
Syntax\SyntaxNodeFactories.vb (1)
675SyntaxKind.ColonToken,
Syntax\SyntaxNormalizer.vb (5)
474If nextToken.Kind = SyntaxKind.ColonToken Then 521If token.Kind = SyntaxKind.ColonToken AndAlso token.Parent.Kind = SyntaxKind.XmlPrefix OrElse 522nextToken.Kind = SyntaxKind.ColonToken AndAlso nextToken.Parent.Kind = SyntaxKind.XmlPrefix Then 549If token.Kind = SyntaxKind.ColonToken AndAlso token.Parent.Kind = SyntaxKind.AttributeTarget OrElse 550nextToken.Kind = SyntaxKind.ColonToken AndAlso nextToken.Parent.Kind = SyntaxKind.AttributeTarget Then