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