847 references to ColonToken
Microsoft.CodeAnalysis.CSharp (59)
Parser\DocumentationCommentParser.cs (1)
685
if (this.CurrentToken.Kind == SyntaxKind.
ColonToken
)
Parser\LanguageParser.cs (39)
1024
&& this.PeekToken(2).Kind == SyntaxKind.
ColonToken
;
1109
=> IsSomeWord(this.CurrentToken.Kind) && this.PeekToken(1).Kind == SyntaxKind.
ColonToken
;
1127
? _syntaxFactory.AttributeTargetSpecifier(ConvertToKeyword(this.EatToken()), this.EatToken(SyntaxKind.
ColonToken
))
1278
case SyntaxKind.
ColonToken
:
1281
this.EatToken(SyntaxKind.
ColonToken
));
2051
return this.CurrentToken.Kind is SyntaxKind.
ColonToken
or SyntaxKind.OpenBraceToken
2060
var colon = this.TryEatToken(SyntaxKind.
ColonToken
);
2129
this.PeekToken(2).Kind == SyntaxKind.
ColonToken
;
2147
var colon = this.EatToken(SyntaxKind.
ColonToken
);
3312
var initializer = this.CurrentToken.Kind == SyntaxKind.
ColonToken
3328
var colon = this.EatToken(SyntaxKind.
ColonToken
);
3427
if (this.CurrentToken.Kind == SyntaxKind.
ColonToken
)
3485
else if (this.CurrentToken.Kind == SyntaxKind.
ColonToken
)
5543
if (this.CurrentToken.Kind == SyntaxKind.
ColonToken
)
5545
var colon = this.EatToken(SyntaxKind.
ColonToken
);
5958
case SyntaxKind.
ColonToken
:
7413
return this.CurrentToken.Kind != SyntaxKind.
ColonToken
;
8157
return this.PeekToken(1).Kind == SyntaxKind.
ColonToken
&& this.IsTrueIdentifier();
8447
if (this.CurrentToken.Kind == SyntaxKind.
ColonToken
)
9804
if (this.CurrentToken.Kind == SyntaxKind.
ColonToken
)
9809
this.EatToken(SyntaxKind.
ColonToken
));
9828
this.EatToken(SyntaxKind.
ColonToken
));
9835
this.EatToken(SyntaxKind.
ColonToken
));
9844
this.EatToken(SyntaxKind.
ColonToken
));
9968
if (this.CurrentToken.Kind == SyntaxKind.
ColonToken
&&
10023
Debug.Assert(this.IsTrueIdentifier() && this.PeekToken(1).Kind == SyntaxKind.
ColonToken
);
10028
this.EatToken(SyntaxKind.
ColonToken
),
10317
case SyntaxKind.
ColonToken
:
11294
if (this.CurrentToken.Kind != SyntaxKind.
ColonToken
&&
11309
if (this.CurrentToken.Kind == SyntaxKind.
ColonToken
)
11331
SyntaxFactory.MissingToken(SyntaxKind.
ColonToken
),
11341
this.EatToken(SyntaxKind.
ColonToken
),
11820
return this.CurrentToken.Kind != SyntaxKind.
ColonToken
;
12028
var nameColon = this.CurrentToken.Kind == SyntaxKind.IdentifierToken && this.PeekToken(1).Kind == SyntaxKind.
ColonToken
12031
this.EatToken(SyntaxKind.
ColonToken
))
12355
if (expression.Kind == SyntaxKind.IdentifierName && this.CurrentToken.Kind == SyntaxKind.
ColonToken
)
12381
var argument = expression.Kind != SyntaxKind.IdentifierName || this.CurrentToken.Kind != SyntaxKind.
ColonToken
12681
case SyntaxKind.
ColonToken
:
13301
if (this.CurrentToken.Kind == SyntaxKind.
ColonToken
&&
Parser\LanguageParser_InterpolatedString.cs (1)
427
SyntaxFactory.Token(leading, SyntaxKind.
ColonToken
, text[interpolation.ColonRange], trailing: null),
Parser\LanguageParser_Patterns.cs (5)
403
case SyntaxKind.
ColonToken
:
509
if (this.CurrentToken.Kind == SyntaxKind.
ColonToken
&& ConvertPatternToExpressionIfPossible(pattern, permitTypeArguments: true) is ExpressionSyntax expr)
550
if (@this._termState.HasFlag(TerminatorState.IsExpressionOrPatternInCaseLabelOfSwitchStatement) && @this.CurrentToken.Kind is SyntaxKind.
ColonToken
)
559
if (@this._termState.HasFlag(TerminatorState.IsPatternInSwitchExpressionArm) && @this.CurrentToken.Kind is SyntaxKind.EqualsGreaterThanToken or SyntaxKind.
ColonToken
)
609
this.CurrentToken.Kind == SyntaxKind.
ColonToken
Parser\Lexer.cs (3)
506
info.Kind = TextWindow.TryAdvance(':') ? SyntaxKind.ColonColonToken : SyntaxKind.
ColonToken
;
3258
info.Kind = SyntaxKind.
ColonToken
;
3766
else info.Kind = SyntaxKind.
ColonToken
;
SymbolDisplay\SymbolDisplayVisitor.Types.cs (1)
862
AddPunctuation(SyntaxKind.
ColonToken
);
Syntax\NameColonSyntax.cs (1)
27
=> NameColon(name, Token(SyntaxKind.
ColonToken
));
Syntax\SyntaxFactory.cs (2)
2429
return SyntaxFactory.CaseSwitchLabel(SyntaxFactory.Token(SyntaxKind.CaseKeyword), value, SyntaxFactory.Token(SyntaxKind.
ColonToken
));
2435
return SyntaxFactory.DefaultSwitchLabel(SyntaxFactory.Token(SyntaxKind.DefaultKeyword), SyntaxFactory.Token(SyntaxKind.
ColonToken
));
Syntax\SyntaxKindFacts.cs (1)
1403
case SyntaxKind.
ColonToken
:
Syntax\SyntaxNormalizer.cs (5)
269
case SyntaxKind.
ColonToken
:
693
if (token.IsKind(SyntaxKind.
ColonToken
))
699
if (next.IsKind(SyntaxKind.
ColonToken
))
720
if ((next.IsKind(SyntaxKind.QuestionToken) || next.IsKind(SyntaxKind.
ColonToken
))
891
if (!next.IsKind(SyntaxKind.
ColonToken
) &&
Microsoft.CodeAnalysis.CSharp.CodeStyle (15)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeGeneration\CSharpSyntaxTokens.cs (1)
22
public static readonly SyntaxToken ColonToken = Token(SyntaxKind.
ColonToken
);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ParenthesizedExpressionSyntaxExtensions.cs (1)
377
if (nodeOrToken.Kind() is SyntaxKind.
ColonToken
or SyntaxKind.ColonColonToken)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTokenExtensions.cs (1)
305
case SyntaxKind.
ColonToken
: // for global:: (so we don't dismiss help as you type the first :)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\FormattingHelpers.cs (4)
119
=> token.Kind() == SyntaxKind.
ColonToken
&& token.Parent.IsKind(SyntaxKind.BaseList);
334
=> token.Kind() == SyntaxKind.
ColonToken
&& token.Parent is CasePatternSwitchLabelSyntax;
337
=> token.Kind() == SyntaxKind.
ColonToken
&& token.Parent.IsKind(SyntaxKind.SwitchExpressionArm);
357
return token.Kind() == SyntaxKind.
ColonToken
&&
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\ElasticTriviaFormattingRule.cs (1)
364
case SyntaxKind.
ColonToken
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\SpacingFormattingRule.cs (2)
518
if ((previousKind == SyntaxKind.
ColonToken
&& previousToken.Parent is InterpolationFormatClauseSyntax) ||
519
(currentKind == SyntaxKind.
ColonToken
&& currentToken.Parent is InterpolationFormatClauseSyntax))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\TokenBasedFormattingRule.cs (1)
397
if (currentToken.IsKind(SyntaxKind.
ColonToken
))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxKinds.cs (1)
49
public int ColonToken => (int)SyntaxKind.
ColonToken
;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\FormattingRangeHelper.cs (3)
70
case SyntaxKind.
ColonToken
:
279
if (endToken.Kind() == SyntaxKind.
ColonToken
&& parent is LabeledStatementSyntax)
408
return token.Kind() == SyntaxKind.
ColonToken
&&
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (15)
src\Analyzers\CSharp\CodeFixes\UseConditionalExpression\MultiLineConditionalExpressionFormattingRule.cs (1)
34
=> token.Kind() is SyntaxKind.QuestionToken or SyntaxKind.
ColonToken
&& token.GetRequiredParent().HasAnnotation(SpecializedFormattingAnnotation);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTokenExtensions.cs (3)
155
case SyntaxKind.
ColonToken
:
401
if (targetToken.Kind() == SyntaxKind.
ColonToken
)
449
if (targetToken.Kind() == SyntaxKind.
ColonToken
&&
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (9)
51
if (token.IsKind(SyntaxKind.
ColonToken
) &&
777
if (token.Kind() is SyntaxKind.
ColonToken
or SyntaxKind.CommaToken &&
850
if (token.IsKind(SyntaxKind.
ColonToken
) &&
956
targetToken.Kind() is SyntaxKind.
ColonToken
or SyntaxKind.CommaToken;
1420
if (leftToken.IsKind(SyntaxKind.
ColonToken
) && leftToken.Parent is (kind: SyntaxKind.NameColon or SyntaxKind.ExpressionColon) &&
2117
if (token.IsKind(SyntaxKind.
ColonToken
) &&
2391
if (token.IsKind(SyntaxKind.
ColonToken
) &&
2465
if (token.IsKind(SyntaxKind.
ColonToken
) &&
2995
targetToken.IsKind(SyntaxKind.
ColonToken
) &&
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\SyntaxTreeExtensions.cs (1)
130
case SyntaxKind.
ColonToken
: // for global:: (so we don't dismiss help as you type the first :)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Indentation\CSharpIndentationService.Indenter.cs (1)
268
case SyntaxKind.
ColonToken
:
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (4)
Formatting\Indentation\SmartTokenFormatterFormatRangeTests.cs (4)
879
await AutoFormatOnCloseBraceAsync(code, expected, SyntaxKind.
ColonToken
);
906
await AutoFormatOnCloseBraceAsync(code, expected, SyntaxKind.
ColonToken
);
2467
SyntaxKind.
ColonToken
);
3396
=> AutoFormatOnMarkerAsync(codeWithMarker, expected, SyntaxKind.
ColonToken
, startTokenKind);
Microsoft.CodeAnalysis.CSharp.Features (10)
CodeRefactorings\UseRecursivePatterns\UseRecursivePatternsCodeRefactoringProvider.cs (1)
389
return SyntaxFactory.Subpattern(ExpressionColon(expression, Token(
ColonToken
)), pattern);
Completion\CompletionProviders\AttributeNamedParameterCompletionProvider.cs (1)
183
var displayTextSuffix = rightToken.IsKind(SyntaxKind.
ColonToken
) ? null : ColonString;
Completion\KeywordRecommenders\BaseKeywordRecommender.cs (1)
51
if (token.Kind() == SyntaxKind.
ColonToken
&&
Completion\KeywordRecommenders\RefKeywordRecommender.cs (1)
215
case SyntaxKind.
ColonToken
:
Completion\KeywordRecommenders\ThisKeywordRecommender.cs (1)
45
if (token.Kind() == SyntaxKind.
ColonToken
&&
Completion\KeywordRecommenders\ThrowKeywordRecommender.cs (1)
39
SyntaxKind.
ColonToken
)
Highlighting\KeywordHighlighters\SwitchStatementHighlighter.cs (1)
33
or SyntaxKind.
ColonToken
);
SignatureHelp\AttributeSignatureHelpProvider.cs (1)
208
Punctuation(SyntaxKind.
ColonToken
),
SignatureHelp\GenericNameSignatureHelpProvider.cs (1)
241
parts.Add(Punctuation(SyntaxKind.
ColonToken
));
src\Analyzers\CSharp\CodeFixes\UseConditionalExpression\MultiLineConditionalExpressionFormattingRule.cs (1)
34
=> token.Kind() is SyntaxKind.QuestionToken or SyntaxKind.
ColonToken
&& token.GetRequiredParent().HasAnnotation(SpecializedFormattingAnnotation);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (711)
Generated\Syntax.Test.xml.Generated.cs (48)
113
=> InternalSyntaxFactory.ConditionalExpression(GenerateIdentifierName(), InternalSyntaxFactory.Token(SyntaxKind.QuestionToken), GenerateIdentifierName(), InternalSyntaxFactory.Token(SyntaxKind.
ColonToken
), GenerateIdentifierName());
164
=> InternalSyntaxFactory.ExpressionColon(GenerateIdentifierName(), InternalSyntaxFactory.Token(SyntaxKind.
ColonToken
));
167
=> InternalSyntaxFactory.NameColon(GenerateIdentifierName(), InternalSyntaxFactory.Token(SyntaxKind.
ColonToken
));
371
=> InternalSyntaxFactory.LabeledStatement(new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.AttributeListSyntax>(), InternalSyntaxFactory.Identifier("Identifier"), InternalSyntaxFactory.Token(SyntaxKind.
ColonToken
), GenerateBlock());
434
=> InternalSyntaxFactory.CasePatternSwitchLabel(InternalSyntaxFactory.Token(SyntaxKind.CaseKeyword), GenerateDiscardPattern(), null, InternalSyntaxFactory.Token(SyntaxKind.
ColonToken
));
437
=> InternalSyntaxFactory.CaseSwitchLabel(InternalSyntaxFactory.Token(SyntaxKind.CaseKeyword), GenerateIdentifierName(), InternalSyntaxFactory.Token(SyntaxKind.
ColonToken
));
440
=> InternalSyntaxFactory.DefaultSwitchLabel(InternalSyntaxFactory.Token(SyntaxKind.DefaultKeyword), InternalSyntaxFactory.Token(SyntaxKind.
ColonToken
));
482
=> InternalSyntaxFactory.AttributeTargetSpecifier(InternalSyntaxFactory.Identifier("Identifier"), InternalSyntaxFactory.Token(SyntaxKind.
ColonToken
));
524
=> InternalSyntaxFactory.BaseList(InternalSyntaxFactory.Token(SyntaxKind.
ColonToken
), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList<Syntax.InternalSyntax.BaseTypeSyntax>());
533
=> InternalSyntaxFactory.TypeParameterConstraintClause(InternalSyntaxFactory.Token(SyntaxKind.WhereKeyword), GenerateIdentifierName(), InternalSyntaxFactory.Token(SyntaxKind.
ColonToken
), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList<Syntax.InternalSyntax.TypeParameterConstraintSyntax>());
575
=> InternalSyntaxFactory.ConstructorInitializer(SyntaxKind.BaseConstructorInitializer, InternalSyntaxFactory.Token(SyntaxKind.
ColonToken
), InternalSyntaxFactory.Token(SyntaxKind.BaseKeyword), GenerateArgumentList());
662
=> InternalSyntaxFactory.XmlPrefix(InternalSyntaxFactory.Identifier("Prefix"), InternalSyntaxFactory.Token(SyntaxKind.
ColonToken
));
1129
Assert.Equal(SyntaxKind.
ColonToken
, node.ColonToken.Kind);
1332
Assert.Equal(SyntaxKind.
ColonToken
, node.ColonToken.Kind);
1343
Assert.Equal(SyntaxKind.
ColonToken
, node.ColonToken.Kind);
2161
Assert.Equal(SyntaxKind.
ColonToken
, node.ColonToken.Kind);
2468
Assert.Equal(SyntaxKind.
ColonToken
, node.ColonToken.Kind);
2480
Assert.Equal(SyntaxKind.
ColonToken
, node.ColonToken.Kind);
2491
Assert.Equal(SyntaxKind.
ColonToken
, node.ColonToken.Kind);
2685
Assert.Equal(SyntaxKind.
ColonToken
, node.ColonToken.Kind);
2899
Assert.Equal(SyntaxKind.
ColonToken
, node.ColonToken.Kind);
2933
Assert.Equal(SyntaxKind.
ColonToken
, node.ColonToken.Kind);
3124
Assert.Equal(SyntaxKind.
ColonToken
, node.ColonToken.Kind);
3496
Assert.Equal(SyntaxKind.
ColonToken
, node.ColonToken.Kind);
10329
=> SyntaxFactory.ConditionalExpression(GenerateIdentifierName(), SyntaxFactory.Token(SyntaxKind.QuestionToken), GenerateIdentifierName(), SyntaxFactory.Token(SyntaxKind.
ColonToken
), GenerateIdentifierName());
10380
=> SyntaxFactory.ExpressionColon(GenerateIdentifierName(), SyntaxFactory.Token(SyntaxKind.
ColonToken
));
10383
=> SyntaxFactory.NameColon(GenerateIdentifierName(), SyntaxFactory.Token(SyntaxKind.
ColonToken
));
10587
=> SyntaxFactory.LabeledStatement(new SyntaxList<AttributeListSyntax>(), SyntaxFactory.Identifier("Identifier"), SyntaxFactory.Token(SyntaxKind.
ColonToken
), GenerateBlock());
10650
=> SyntaxFactory.CasePatternSwitchLabel(SyntaxFactory.Token(SyntaxKind.CaseKeyword), GenerateDiscardPattern(), default(WhenClauseSyntax), SyntaxFactory.Token(SyntaxKind.
ColonToken
));
10653
=> SyntaxFactory.CaseSwitchLabel(SyntaxFactory.Token(SyntaxKind.CaseKeyword), GenerateIdentifierName(), SyntaxFactory.Token(SyntaxKind.
ColonToken
));
10656
=> SyntaxFactory.DefaultSwitchLabel(SyntaxFactory.Token(SyntaxKind.DefaultKeyword), SyntaxFactory.Token(SyntaxKind.
ColonToken
));
10698
=> SyntaxFactory.AttributeTargetSpecifier(SyntaxFactory.Identifier("Identifier"), SyntaxFactory.Token(SyntaxKind.
ColonToken
));
10740
=> SyntaxFactory.BaseList(SyntaxFactory.Token(SyntaxKind.
ColonToken
), new SeparatedSyntaxList<BaseTypeSyntax>());
10749
=> SyntaxFactory.TypeParameterConstraintClause(SyntaxFactory.Token(SyntaxKind.WhereKeyword), GenerateIdentifierName(), SyntaxFactory.Token(SyntaxKind.
ColonToken
), new SeparatedSyntaxList<TypeParameterConstraintSyntax>());
10791
=> SyntaxFactory.ConstructorInitializer(SyntaxKind.BaseConstructorInitializer, SyntaxFactory.Token(SyntaxKind.
ColonToken
), SyntaxFactory.Token(SyntaxKind.BaseKeyword), GenerateArgumentList());
10878
=> SyntaxFactory.XmlPrefix(SyntaxFactory.Identifier("Prefix"), SyntaxFactory.Token(SyntaxKind.
ColonToken
));
11345
Assert.Equal(SyntaxKind.
ColonToken
, node.ColonToken.Kind());
11548
Assert.Equal(SyntaxKind.
ColonToken
, node.ColonToken.Kind());
11559
Assert.Equal(SyntaxKind.
ColonToken
, node.ColonToken.Kind());
12377
Assert.Equal(SyntaxKind.
ColonToken
, node.ColonToken.Kind());
12684
Assert.Equal(SyntaxKind.
ColonToken
, node.ColonToken.Kind());
12696
Assert.Equal(SyntaxKind.
ColonToken
, node.ColonToken.Kind());
12707
Assert.Equal(SyntaxKind.
ColonToken
, node.ColonToken.Kind());
12901
Assert.Equal(SyntaxKind.
ColonToken
, node.ColonToken.Kind());
13115
Assert.Equal(SyntaxKind.
ColonToken
, node.ColonToken.Kind());
13149
Assert.Equal(SyntaxKind.
ColonToken
, node.ColonToken.Kind());
13340
Assert.Equal(SyntaxKind.
ColonToken
, node.ColonToken.Kind());
13712
Assert.Equal(SyntaxKind.
ColonToken
, node.ColonToken.Kind());
LexicalAndXml\CrefLexerTests.cs (3)
123
AssertTokens(":", Token(SyntaxKind.
ColonToken
));
163
AssertTokens(":::", Token(SyntaxKind.ColonColonToken), Token(SyntaxKind.
ColonToken
));
165
AssertTokens(":::::", Token(SyntaxKind.ColonColonToken), Token(SyntaxKind.ColonColonToken), Token(SyntaxKind.
ColonToken
));
LexicalAndXml\LexicalTests.cs (1)
918
TestPunctuation(SyntaxKind.
ColonToken
);
LexicalAndXml\NameAttributeValueLexerTests.cs (3)
128
AssertTokens(":", Token(SyntaxKind.
ColonToken
));
168
AssertTokens(":::", Token(SyntaxKind.ColonColonToken), Token(SyntaxKind.
ColonToken
));
170
AssertTokens(":::::", Token(SyntaxKind.ColonColonToken), Token(SyntaxKind.ColonColonToken), Token(SyntaxKind.
ColonToken
));
Parsing\AllowsConstraintParsing.cs (36)
53
N(SyntaxKind.
ColonToken
);
106
N(SyntaxKind.
ColonToken
);
162
N(SyntaxKind.
ColonToken
);
211
N(SyntaxKind.
ColonToken
);
265
N(SyntaxKind.
ColonToken
);
324
N(SyntaxKind.
ColonToken
);
391
N(SyntaxKind.
ColonToken
);
448
N(SyntaxKind.
ColonToken
);
503
N(SyntaxKind.
ColonToken
);
561
N(SyntaxKind.
ColonToken
);
616
N(SyntaxKind.
ColonToken
);
679
N(SyntaxKind.
ColonToken
);
732
N(SyntaxKind.
ColonToken
);
795
N(SyntaxKind.
ColonToken
);
813
N(SyntaxKind.
ColonToken
);
866
N(SyntaxKind.
ColonToken
);
889
N(SyntaxKind.
ColonToken
);
938
N(SyntaxKind.
ColonToken
);
956
N(SyntaxKind.
ColonToken
);
1005
N(SyntaxKind.
ColonToken
);
1028
N(SyntaxKind.
ColonToken
);
1072
N(SyntaxKind.
ColonToken
);
1130
N(SyntaxKind.
ColonToken
);
1184
N(SyntaxKind.
ColonToken
);
1238
N(SyntaxKind.
ColonToken
);
1292
N(SyntaxKind.
ColonToken
);
1349
N(SyntaxKind.
ColonToken
);
1406
N(SyntaxKind.
ColonToken
);
1463
N(SyntaxKind.
ColonToken
);
1519
N(SyntaxKind.
ColonToken
);
1588
N(SyntaxKind.
ColonToken
);
1642
N(SyntaxKind.
ColonToken
);
1696
N(SyntaxKind.
ColonToken
);
1753
N(SyntaxKind.
ColonToken
);
1810
N(SyntaxKind.
ColonToken
);
1867
N(SyntaxKind.
ColonToken
);
Parsing\AnonymousFunctionParsingTests.cs (1)
1059
N(SyntaxKind.
ColonToken
);
Parsing\AsyncParsingTests.cs (5)
2609
N(SyntaxKind.
ColonToken
);
2684
N(SyntaxKind.
ColonToken
);
2733
N(SyntaxKind.
ColonToken
);
2780
N(SyntaxKind.
ColonToken
);
2834
N(SyntaxKind.
ColonToken
);
Parsing\AwaitParsingTests.cs (12)
913
N(SyntaxKind.
ColonToken
);
1179
N(SyntaxKind.
ColonToken
);
1232
N(SyntaxKind.
ColonToken
);
1285
N(SyntaxKind.
ColonToken
);
1333
N(SyntaxKind.
ColonToken
);
1404
N(SyntaxKind.
ColonToken
);
1484
N(SyntaxKind.
ColonToken
);
1574
N(SyntaxKind.
ColonToken
);
1659
N(SyntaxKind.
ColonToken
);
1717
M(SyntaxKind.
ColonToken
);
1771
M(SyntaxKind.
ColonToken
);
1815
N(SyntaxKind.
ColonToken
);
Parsing\CollectionExpressionParsingTests.cs (68)
331
N(SyntaxKind.
ColonToken
);
458
N(SyntaxKind.
ColonToken
);
591
N(SyntaxKind.
ColonToken
);
1887
N(SyntaxKind.
ColonToken
);
1942
N(SyntaxKind.
ColonToken
);
1981
N(SyntaxKind.
ColonToken
);
2002
N(SyntaxKind.
ColonToken
);
2359
N(SyntaxKind.
ColonToken
);
2403
N(SyntaxKind.
ColonToken
);
2541
N(SyntaxKind.
ColonToken
);
2590
N(SyntaxKind.
ColonToken
);
2634
N(SyntaxKind.
ColonToken
);
2694
N(SyntaxKind.
ColonToken
);
2734
N(SyntaxKind.
ColonToken
);
2740
N(SyntaxKind.
ColonToken
);
2796
N(SyntaxKind.
ColonToken
);
2802
N(SyntaxKind.
ColonToken
);
2846
N(SyntaxKind.
ColonToken
);
2906
N(SyntaxKind.
ColonToken
);
2946
N(SyntaxKind.
ColonToken
);
2952
N(SyntaxKind.
ColonToken
);
3008
N(SyntaxKind.
ColonToken
);
3014
N(SyntaxKind.
ColonToken
);
3093
N(SyntaxKind.
ColonToken
);
3112
N(SyntaxKind.
ColonToken
);
3186
N(SyntaxKind.
ColonToken
);
3205
N(SyntaxKind.
ColonToken
);
3267
N(SyntaxKind.
ColonToken
);
3279
N(SyntaxKind.
ColonToken
);
3323
N(SyntaxKind.
ColonToken
);
3354
N(SyntaxKind.
ColonToken
);
3405
N(SyntaxKind.
ColonToken
);
3443
N(SyntaxKind.
ColonToken
);
3449
M(SyntaxKind.
ColonToken
);
3494
N(SyntaxKind.
ColonToken
);
3532
N(SyntaxKind.
ColonToken
);
3538
N(SyntaxKind.
ColonToken
);
3583
N(SyntaxKind.
ColonToken
);
3617
N(SyntaxKind.
ColonToken
);
3623
N(SyntaxKind.
ColonToken
);
3629
N(SyntaxKind.
ColonToken
);
3670
N(SyntaxKind.
ColonToken
);
3704
N(SyntaxKind.
ColonToken
);
3710
N(SyntaxKind.
ColonToken
);
3716
N(SyntaxKind.
ColonToken
);
3723
N(SyntaxKind.
ColonToken
);
3766
N(SyntaxKind.
ColonToken
);
3800
N(SyntaxKind.
ColonToken
);
3806
N(SyntaxKind.
ColonToken
);
3812
N(SyntaxKind.
ColonToken
);
3819
N(SyntaxKind.
ColonToken
);
4829
N(SyntaxKind.
ColonToken
);
6624
N(SyntaxKind.
ColonToken
);
7314
N(SyntaxKind.
ColonToken
);
11366
N(SyntaxKind.
ColonToken
);
11456
N(SyntaxKind.
ColonToken
);
12987
M(SyntaxKind.
ColonToken
);
13058
N(SyntaxKind.
ColonToken
);
13207
N(SyntaxKind.
ColonToken
);
13372
N(SyntaxKind.
ColonToken
);
13550
M(SyntaxKind.
ColonToken
);
13744
M(SyntaxKind.
ColonToken
);
13968
M(SyntaxKind.
ColonToken
);
17000
N(SyntaxKind.
ColonToken
);
18167
N(SyntaxKind.
ColonToken
);
18228
N(SyntaxKind.
ColonToken
);
18484
N(SyntaxKind.
ColonToken
);
18565
N(SyntaxKind.
ColonToken
);
Parsing\DeclarationExpressionTests.cs (7)
122
N(SyntaxKind.
ColonToken
);
208
N(SyntaxKind.
ColonToken
);
258
N(SyntaxKind.
ColonToken
);
319
N(SyntaxKind.
ColonToken
);
385
N(SyntaxKind.
ColonToken
);
1264
N(SyntaxKind.
ColonToken
);
1280
N(SyntaxKind.
ColonToken
);
Parsing\DeclarationParsingTests.cs (54)
6422
N(SyntaxKind.
ColonToken
);
6644
N(SyntaxKind.
ColonToken
);
6693
N(SyntaxKind.
ColonToken
);
6753
N(SyntaxKind.
ColonToken
);
6769
N(SyntaxKind.
ColonToken
);
6818
N(SyntaxKind.
ColonToken
);
6834
N(SyntaxKind.
ColonToken
);
7008
N(SyntaxKind.
ColonToken
);
7051
N(SyntaxKind.
ColonToken
);
7094
N(SyntaxKind.
ColonToken
);
7142
N(SyntaxKind.
ColonToken
);
7186
N(SyntaxKind.
ColonToken
);
7234
N(SyntaxKind.
ColonToken
);
8372
N(SyntaxKind.
ColonToken
);
8479
N(SyntaxKind.
ColonToken
);
8504
N(SyntaxKind.
ColonToken
);
8604
N(SyntaxKind.
ColonToken
);
8831
N(SyntaxKind.
ColonToken
);
8880
N(SyntaxKind.
ColonToken
);
8893
N(SyntaxKind.
ColonToken
);
8981
N(SyntaxKind.
ColonToken
);
8999
N(SyntaxKind.
ColonToken
);
9053
N(SyntaxKind.
ColonToken
);
9071
N(SyntaxKind.
ColonToken
);
9155
N(SyntaxKind.
ColonToken
);
9187
N(SyntaxKind.
ColonToken
);
9232
N(SyntaxKind.
ColonToken
);
9269
N(SyntaxKind.
ColonToken
);
9285
N(SyntaxKind.
ColonToken
);
9518
N(SyntaxKind.
ColonToken
);
9552
N(SyntaxKind.
ColonToken
);
9599
N(SyntaxKind.
ColonToken
);
9638
N(SyntaxKind.
ColonToken
);
9654
N(SyntaxKind.
ColonToken
);
9702
N(SyntaxKind.
ColonToken
);
10031
N(SyntaxKind.
ColonToken
);
10082
N(SyntaxKind.
ColonToken
);
10148
N(SyntaxKind.
ColonToken
);
10205
N(SyntaxKind.
ColonToken
);
10267
N(SyntaxKind.
ColonToken
);
10344
N(SyntaxKind.
ColonToken
);
10613
N(SyntaxKind.
ColonToken
);
10657
N(SyntaxKind.
ColonToken
);
10706
N(SyntaxKind.
ColonToken
);
10767
N(SyntaxKind.
ColonToken
);
10816
N(SyntaxKind.
ColonToken
);
10858
N(SyntaxKind.
ColonToken
);
10910
N(SyntaxKind.
ColonToken
);
10967
N(SyntaxKind.
ColonToken
);
10988
N(SyntaxKind.
ColonToken
);
11022
N(SyntaxKind.
ColonToken
);
11050
N(SyntaxKind.
ColonToken
);
11087
N(SyntaxKind.
ColonToken
);
11123
N(SyntaxKind.
ColonToken
);
Parsing\DeclarationParsingTests_MissingIdentifiers.cs (64)
190
N(SyntaxKind.
ColonToken
);
250
N(SyntaxKind.
ColonToken
);
269
N(SyntaxKind.
ColonToken
);
351
N(SyntaxKind.
ColonToken
);
376
N(SyntaxKind.
ColonToken
);
454
N(SyntaxKind.
ColonToken
);
479
N(SyntaxKind.
ColonToken
);
572
N(SyntaxKind.
ColonToken
);
597
N(SyntaxKind.
ColonToken
);
675
N(SyntaxKind.
ColonToken
);
700
N(SyntaxKind.
ColonToken
);
748
N(SyntaxKind.
ColonToken
);
850
N(SyntaxKind.
ColonToken
);
887
N(SyntaxKind.
ColonToken
);
965
N(SyntaxKind.
ColonToken
);
990
N(SyntaxKind.
ColonToken
);
1061
N(SyntaxKind.
ColonToken
);
1098
N(SyntaxKind.
ColonToken
);
1176
N(SyntaxKind.
ColonToken
);
1201
N(SyntaxKind.
ColonToken
);
1314
N(SyntaxKind.
ColonToken
);
1412
N(SyntaxKind.
ColonToken
);
1472
N(SyntaxKind.
ColonToken
);
1500
N(SyntaxKind.
ColonToken
);
1582
N(SyntaxKind.
ColonToken
);
1607
N(SyntaxKind.
ColonToken
);
1685
N(SyntaxKind.
ColonToken
);
1710
N(SyntaxKind.
ColonToken
);
1879
N(SyntaxKind.
ColonToken
);
2122
N(SyntaxKind.
ColonToken
);
2182
N(SyntaxKind.
ColonToken
);
2201
N(SyntaxKind.
ColonToken
);
2283
N(SyntaxKind.
ColonToken
);
2308
N(SyntaxKind.
ColonToken
);
2386
N(SyntaxKind.
ColonToken
);
2411
N(SyntaxKind.
ColonToken
);
2507
N(SyntaxKind.
ColonToken
);
2532
N(SyntaxKind.
ColonToken
);
2610
N(SyntaxKind.
ColonToken
);
2635
N(SyntaxKind.
ColonToken
);
2740
N(SyntaxKind.
ColonToken
);
2765
N(SyntaxKind.
ColonToken
);
2843
N(SyntaxKind.
ColonToken
);
2868
N(SyntaxKind.
ColonToken
);
2976
N(SyntaxKind.
ColonToken
);
3063
N(SyntaxKind.
ColonToken
);
3088
N(SyntaxKind.
ColonToken
);
3137
N(SyntaxKind.
ColonToken
);
3256
N(SyntaxKind.
ColonToken
);
3293
N(SyntaxKind.
ColonToken
);
3380
N(SyntaxKind.
ColonToken
);
3405
N(SyntaxKind.
ColonToken
);
3463
N(SyntaxKind.
ColonToken
);
3545
N(SyntaxKind.
ColonToken
);
3632
N(SyntaxKind.
ColonToken
);
3719
N(SyntaxKind.
ColonToken
);
3744
N(SyntaxKind.
ColonToken
);
3793
N(SyntaxKind.
ColonToken
);
3911
N(SyntaxKind.
ColonToken
);
3936
N(SyntaxKind.
ColonToken
);
4023
N(SyntaxKind.
ColonToken
);
4048
N(SyntaxKind.
ColonToken
);
4106
N(SyntaxKind.
ColonToken
);
4188
N(SyntaxKind.
ColonToken
);
Parsing\DeclarationScopeParsingTests.cs (2)
5573
N(SyntaxKind.
ColonToken
);
5738
N(SyntaxKind.
ColonToken
);
Parsing\DeconstructionTests.cs (3)
2843
N(SyntaxKind.
ColonToken
);
2908
N(SyntaxKind.
ColonToken
);
3290
M(SyntaxKind.
ColonToken
);
Parsing\ExpressionParsingTests.cs (11)
908
Assert.Equal(SyntaxKind.
ColonToken
, ts.ColonToken.Kind());
3984
N(SyntaxKind.
ColonToken
);
4650
N(SyntaxKind.
ColonToken
);
4879
N(SyntaxKind.
ColonToken
);
5015
N(SyntaxKind.
ColonToken
);
5053
M(SyntaxKind.
ColonToken
);
5061
N(SyntaxKind.
ColonToken
);
5993
M(SyntaxKind.
ColonToken
);
6871
N(SyntaxKind.
ColonToken
);
6933
N(SyntaxKind.
ColonToken
);
7018
M(SyntaxKind.
ColonToken
);
Parsing\FieldKeywordParsingTests.cs (2)
2061
N(SyntaxKind.
ColonToken
);
2125
N(SyntaxKind.
ColonToken
);
Parsing\FileModifierParsingTests.cs (2)
3627
N(SyntaxKind.
ColonToken
);
3673
N(SyntaxKind.
ColonToken
);
Parsing\FunctionPointerTests.cs (2)
2596
N(SyntaxKind.
ColonToken
);
2649
N(SyntaxKind.
ColonToken
);
Parsing\ImplicitObjectCreationParsingTests.cs (1)
169
N(SyntaxKind.
ColonToken
);
Parsing\InterpolationTests.cs (1)
26
SyntaxFactory.Token(SyntaxKind.
ColonToken
),
Parsing\LambdaAttributeParsingTests.cs (13)
655
N(SyntaxKind.
ColonToken
);
1510
N(SyntaxKind.
ColonToken
);
1545
N(SyntaxKind.
ColonToken
);
1570
N(SyntaxKind.
ColonToken
);
1645
N(SyntaxKind.
ColonToken
);
2241
M(SyntaxKind.
ColonToken
);
2305
N(SyntaxKind.
ColonToken
);
2367
N(SyntaxKind.
ColonToken
);
2413
N(SyntaxKind.
ColonToken
);
2434
N(SyntaxKind.
ColonToken
);
2483
N(SyntaxKind.
ColonToken
);
2506
N(SyntaxKind.
ColonToken
);
2685
N(SyntaxKind.
ColonToken
);
Parsing\LambdaParameterParsingTests.cs (3)
4290
N(SyntaxKind.
ColonToken
);
4296
N(SyntaxKind.
ColonToken
);
4308
N(SyntaxKind.
ColonToken
);
Parsing\LambdaReturnTypeParsingTests.cs (22)
854
M(SyntaxKind.
ColonToken
);
897
N(SyntaxKind.
ColonToken
);
962
N(SyntaxKind.
ColonToken
);
1059
N(SyntaxKind.
ColonToken
);
1154
N(SyntaxKind.
ColonToken
);
1210
M(SyntaxKind.
ColonToken
);
1260
N(SyntaxKind.
ColonToken
);
1343
N(SyntaxKind.
ColonToken
);
1398
M(SyntaxKind.
ColonToken
);
1520
N(SyntaxKind.
ColonToken
);
1740
N(SyntaxKind.
ColonToken
);
1922
N(SyntaxKind.
ColonToken
);
1928
M(SyntaxKind.
ColonToken
);
1970
N(SyntaxKind.
ColonToken
);
1976
N(SyntaxKind.
ColonToken
);
2024
N(SyntaxKind.
ColonToken
);
3168
N(SyntaxKind.
ColonToken
);
3211
N(SyntaxKind.
ColonToken
);
3237
N(SyntaxKind.
ColonToken
);
3285
N(SyntaxKind.
ColonToken
);
3350
N(SyntaxKind.
ColonToken
);
3415
N(SyntaxKind.
ColonToken
);
Parsing\LocalFunctionParsingTests.cs (2)
434
N(SyntaxKind.
ColonToken
);
2809
N(SyntaxKind.
ColonToken
);
Parsing\MemberDeclarationParsingTests.cs (11)
270
N(SyntaxKind.
ColonToken
);
9209
N(SyntaxKind.
ColonToken
);
9264
N(SyntaxKind.
ColonToken
);
9331
N(SyntaxKind.
ColonToken
);
9416
N(SyntaxKind.
ColonToken
);
9474
N(SyntaxKind.
ColonToken
);
9524
N(SyntaxKind.
ColonToken
);
9579
N(SyntaxKind.
ColonToken
);
9641
N(SyntaxKind.
ColonToken
);
10223
N(SyntaxKind.
ColonToken
);
18647
N(SyntaxKind.
ColonToken
);
Parsing\NameParsingTests.cs (1)
1485
N(SyntaxKind.
ColonToken
);
Parsing\NullableParsingTests.cs (17)
355
N(SyntaxKind.
ColonToken
);
391
N(SyntaxKind.
ColonToken
);
435
N(SyntaxKind.
ColonToken
);
483
N(SyntaxKind.
ColonToken
);
590
M(SyntaxKind.
ColonToken
);
718
N(SyntaxKind.
ColonToken
);
724
M(SyntaxKind.
ColonToken
);
792
N(SyntaxKind.
ColonToken
);
875
M(SyntaxKind.
ColonToken
);
880
N(SyntaxKind.
ColonToken
);
939
N(SyntaxKind.
ColonToken
);
1010
N(SyntaxKind.
ColonToken
);
1429
M(SyntaxKind.
ColonToken
);
2086
M(SyntaxKind.
ColonToken
);
2142
N(SyntaxKind.
ColonToken
);
2263
M(SyntaxKind.
ColonToken
);
2311
N(SyntaxKind.
ColonToken
);
Parsing\PatternParsingTests.cs (110)
833
N(SyntaxKind.
ColonToken
);
850
N(SyntaxKind.
ColonToken
);
867
N(SyntaxKind.
ColonToken
);
884
N(SyntaxKind.
ColonToken
);
901
N(SyntaxKind.
ColonToken
);
918
N(SyntaxKind.
ColonToken
);
992
N(SyntaxKind.
ColonToken
);
1034
N(SyntaxKind.
ColonToken
);
1493
N(SyntaxKind.
ColonToken
);
1560
N(SyntaxKind.
ColonToken
);
1604
N(SyntaxKind.
ColonToken
);
1655
N(SyntaxKind.
ColonToken
);
1717
N(SyntaxKind.
ColonToken
);
1767
N(SyntaxKind.
ColonToken
);
1828
N(SyntaxKind.
ColonToken
);
1900
N(SyntaxKind.
ColonToken
);
1923
N(SyntaxKind.
ColonToken
);
1994
N(SyntaxKind.
ColonToken
);
2011
N(SyntaxKind.
ColonToken
);
2077
N(SyntaxKind.
ColonToken
);
2096
N(SyntaxKind.
ColonToken
);
2119
N(SyntaxKind.
ColonToken
);
2136
N(SyntaxKind.
ColonToken
);
2195
N(SyntaxKind.
ColonToken
);
2268
M(SyntaxKind.
ColonToken
);
2317
N(SyntaxKind.
ColonToken
);
2359
M(SyntaxKind.
ColonToken
);
2419
N(SyntaxKind.
ColonToken
);
2432
N(SyntaxKind.
ColonToken
);
2602
N(SyntaxKind.
ColonToken
);
2776
N(SyntaxKind.
ColonToken
);
2835
N(SyntaxKind.
ColonToken
);
2916
N(SyntaxKind.
ColonToken
);
2967
N(SyntaxKind.
ColonToken
);
3928
N(SyntaxKind.
ColonToken
);
4001
N(SyntaxKind.
ColonToken
);
4072
N(SyntaxKind.
ColonToken
);
4145
N(SyntaxKind.
ColonToken
);
4232
N(SyntaxKind.
ColonToken
);
4321
N(SyntaxKind.
ColonToken
);
4376
N(SyntaxKind.
ColonToken
);
4395
N(SyntaxKind.
ColonToken
);
4418
N(SyntaxKind.
ColonToken
);
4482
N(SyntaxKind.
ColonToken
);
4501
N(SyntaxKind.
ColonToken
);
4524
N(SyntaxKind.
ColonToken
);
4592
N(SyntaxKind.
ColonToken
);
4656
N(SyntaxKind.
ColonToken
);
4724
N(SyntaxKind.
ColonToken
);
4743
N(SyntaxKind.
ColonToken
);
4807
N(SyntaxKind.
ColonToken
);
4826
N(SyntaxKind.
ColonToken
);
4939
N(SyntaxKind.
ColonToken
);
4958
N(SyntaxKind.
ColonToken
);
4981
N(SyntaxKind.
ColonToken
);
5041
N(SyntaxKind.
ColonToken
);
5060
N(SyntaxKind.
ColonToken
);
5083
N(SyntaxKind.
ColonToken
);
5147
N(SyntaxKind.
ColonToken
);
5207
N(SyntaxKind.
ColonToken
);
5271
N(SyntaxKind.
ColonToken
);
5290
N(SyntaxKind.
ColonToken
);
5350
N(SyntaxKind.
ColonToken
);
5369
N(SyntaxKind.
ColonToken
);
5508
N(SyntaxKind.
ColonToken
);
5544
N(SyntaxKind.
ColonToken
);
5591
N(SyntaxKind.
ColonToken
);
5666
N(SyntaxKind.
ColonToken
);
5888
N(SyntaxKind.
ColonToken
);
5981
N(SyntaxKind.
ColonToken
);
6018
N(SyntaxKind.
ColonToken
);
6054
N(SyntaxKind.
ColonToken
);
6095
N(SyntaxKind.
ColonToken
);
6145
N(SyntaxKind.
ColonToken
);
6195
N(SyntaxKind.
ColonToken
);
6246
N(SyntaxKind.
ColonToken
);
6261
N(SyntaxKind.
ColonToken
);
6300
N(SyntaxKind.
ColonToken
);
6375
N(SyntaxKind.
ColonToken
);
6435
M(SyntaxKind.
ColonToken
);
6489
N(SyntaxKind.
ColonToken
);
6521
N(SyntaxKind.
ColonToken
);
6557
N(SyntaxKind.
ColonToken
);
6605
N(SyntaxKind.
ColonToken
);
6631
N(SyntaxKind.
ColonToken
);
6657
N(SyntaxKind.
ColonToken
);
6683
N(SyntaxKind.
ColonToken
);
6797
N(SyntaxKind.
ColonToken
);
6881
N(SyntaxKind.
ColonToken
);
7047
N(SyntaxKind.
ColonToken
);
7180
N(SyntaxKind.
ColonToken
);
7242
N(SyntaxKind.
ColonToken
);
7307
N(SyntaxKind.
ColonToken
);
7364
N(SyntaxKind.
ColonToken
);
7429
N(SyntaxKind.
ColonToken
);
10227
N(SyntaxKind.
ColonToken
);
10492
N(SyntaxKind.
ColonToken
);
11288
N(SyntaxKind.
ColonToken
);
11342
N(SyntaxKind.
ColonToken
);
11776
N(SyntaxKind.
ColonToken
);
11911
N(SyntaxKind.
ColonToken
);
12202
N(SyntaxKind.
ColonToken
);
12307
N(SyntaxKind.
ColonToken
);
12403
N(SyntaxKind.
ColonToken
);
12508
N(SyntaxKind.
ColonToken
);
12562
N(SyntaxKind.
ColonToken
);
12617
N(SyntaxKind.
ColonToken
);
12623
N(SyntaxKind.
ColonToken
);
12671
N(SyntaxKind.
ColonToken
);
12679
N(SyntaxKind.
ColonToken
);
Parsing\PatternParsingTests2.cs (19)
94
N(SyntaxKind.
ColonToken
);
198
N(SyntaxKind.
ColonToken
);
315
N(SyntaxKind.
ColonToken
);
365
N(SyntaxKind.
ColonToken
);
580
N(SyntaxKind.
ColonToken
);
686
N(SyntaxKind.
ColonToken
);
751
N(SyntaxKind.
ColonToken
);
815
N(SyntaxKind.
ColonToken
);
867
N(SyntaxKind.
ColonToken
);
875
N(SyntaxKind.
ColonToken
);
933
N(SyntaxKind.
ColonToken
);
1391
N(SyntaxKind.
ColonToken
);
1437
N(SyntaxKind.
ColonToken
);
1487
N(SyntaxKind.
ColonToken
);
1514
N(SyntaxKind.
ColonToken
);
1567
N(SyntaxKind.
ColonToken
);
1594
N(SyntaxKind.
ColonToken
);
1644
N(SyntaxKind.
ColonToken
);
1705
N(SyntaxKind.
ColonToken
);
Parsing\RangeExpressionParsingTests.cs (6)
75
N(SyntaxKind.
ColonToken
);
100
N(SyntaxKind.
ColonToken
);
125
N(SyntaxKind.
ColonToken
);
154
N(SyntaxKind.
ColonToken
);
179
N(SyntaxKind.
ColonToken
);
212
N(SyntaxKind.
ColonToken
);
Parsing\RecordParsing.cs (29)
478
N(SyntaxKind.
ColonToken
);
522
M(SyntaxKind.
ColonToken
);
567
N(SyntaxKind.
ColonToken
);
580
N(SyntaxKind.
ColonToken
);
621
N(SyntaxKind.
ColonToken
);
666
N(SyntaxKind.
ColonToken
);
679
N(SyntaxKind.
ColonToken
);
734
N(SyntaxKind.
ColonToken
);
805
N(SyntaxKind.
ColonToken
);
821
M(SyntaxKind.
ColonToken
);
875
N(SyntaxKind.
ColonToken
);
891
M(SyntaxKind.
ColonToken
);
935
N(SyntaxKind.
ColonToken
);
980
N(SyntaxKind.
ColonToken
);
1028
N(SyntaxKind.
ColonToken
);
1078
N(SyntaxKind.
ColonToken
);
1152
N(SyntaxKind.
ColonToken
);
2136
N(SyntaxKind.
ColonToken
);
2196
N(SyntaxKind.
ColonToken
);
2243
M(SyntaxKind.
ColonToken
);
2291
N(SyntaxKind.
ColonToken
);
2376
N(SyntaxKind.
ColonToken
);
2475
N(SyntaxKind.
ColonToken
);
2537
N(SyntaxKind.
ColonToken
);
2589
N(SyntaxKind.
ColonToken
);
2619
N(SyntaxKind.
ColonToken
);
4064
N(SyntaxKind.
ColonToken
);
4120
N(SyntaxKind.
ColonToken
);
4225
N(SyntaxKind.
ColonToken
);
Parsing\ScriptParsingTests.cs (76)
2296
N(SyntaxKind.
ColonToken
);
2313
N(SyntaxKind.
ColonToken
);
2963
N(SyntaxKind.
ColonToken
);
3337
M(SyntaxKind.
ColonToken
);
4579
M(SyntaxKind.
ColonToken
);
4620
M(SyntaxKind.
ColonToken
);
4672
M(SyntaxKind.
ColonToken
);
4724
M(SyntaxKind.
ColonToken
);
4776
M(SyntaxKind.
ColonToken
);
4825
M(SyntaxKind.
ColonToken
);
4875
M(SyntaxKind.
ColonToken
);
4930
M(SyntaxKind.
ColonToken
);
4991
M(SyntaxKind.
ColonToken
);
5049
M(SyntaxKind.
ColonToken
);
5118
M(SyntaxKind.
ColonToken
);
5170
M(SyntaxKind.
ColonToken
);
5230
M(SyntaxKind.
ColonToken
);
5289
M(SyntaxKind.
ColonToken
);
5359
M(SyntaxKind.
ColonToken
);
5419
N(SyntaxKind.
ColonToken
);
5429
M(SyntaxKind.
ColonToken
);
5500
M(SyntaxKind.
ColonToken
);
5510
M(SyntaxKind.
ColonToken
);
5578
M(SyntaxKind.
ColonToken
);
5588
M(SyntaxKind.
ColonToken
);
5667
M(SyntaxKind.
ColonToken
);
5677
M(SyntaxKind.
ColonToken
);
5768
M(SyntaxKind.
ColonToken
);
5775
M(SyntaxKind.
ColonToken
);
5785
M(SyntaxKind.
ColonToken
);
5834
M(SyntaxKind.
ColonToken
);
5890
M(SyntaxKind.
ColonToken
);
5939
M(SyntaxKind.
ColonToken
);
5995
M(SyntaxKind.
ColonToken
);
6052
N(SyntaxKind.
ColonToken
);
6062
M(SyntaxKind.
ColonToken
);
6116
N(SyntaxKind.
ColonToken
);
6132
N(SyntaxKind.
ColonToken
);
6145
N(SyntaxKind.
ColonToken
);
6155
M(SyntaxKind.
ColonToken
);
6199
N(SyntaxKind.
ColonToken
);
6270
N(SyntaxKind.
ColonToken
);
6300
N(SyntaxKind.
ColonToken
);
6365
M(SyntaxKind.
ColonToken
);
6371
M(SyntaxKind.
ColonToken
);
6423
M(SyntaxKind.
ColonToken
);
6472
M(SyntaxKind.
ColonToken
);
6518
N(SyntaxKind.
ColonToken
);
6578
M(SyntaxKind.
ColonToken
);
6638
M(SyntaxKind.
ColonToken
);
6716
M(SyntaxKind.
ColonToken
);
6791
M(SyntaxKind.
ColonToken
);
6850
M(SyntaxKind.
ColonToken
);
6920
M(SyntaxKind.
ColonToken
);
6990
M(SyntaxKind.
ColonToken
);
7060
M(SyntaxKind.
ColonToken
);
7130
M(SyntaxKind.
ColonToken
);
7200
M(SyntaxKind.
ColonToken
);
7270
M(SyntaxKind.
ColonToken
);
7347
M(SyntaxKind.
ColonToken
);
7421
M(SyntaxKind.
ColonToken
);
7500
M(SyntaxKind.
ColonToken
);
7510
M(SyntaxKind.
ColonToken
);
7566
M(SyntaxKind.
ColonToken
);
7631
M(SyntaxKind.
ColonToken
);
7702
M(SyntaxKind.
ColonToken
);
7775
M(SyntaxKind.
ColonToken
);
7849
N(SyntaxKind.
ColonToken
);
7874
M(SyntaxKind.
ColonToken
);
7935
N(SyntaxKind.
ColonToken
);
7945
M(SyntaxKind.
ColonToken
);
8025
N(SyntaxKind.
ColonToken
);
8099
M(SyntaxKind.
ColonToken
);
8178
M(SyntaxKind.
ColonToken
);
8239
M(SyntaxKind.
ColonToken
);
8339
M(SyntaxKind.
ColonToken
);
Parsing\StatementAttributeParsingTests.cs (4)
201
N(SyntaxKind.
ColonToken
);
298
N(SyntaxKind.
ColonToken
);
2363
N(SyntaxKind.
ColonToken
);
2488
N(SyntaxKind.
ColonToken
);
Parsing\StatementParsingTests.cs (39)
980
Assert.Equal(SyntaxKind.
ColonToken
, ls.ColonToken.Kind());
2983
N(SyntaxKind.
ColonToken
);
3579
N(SyntaxKind.
ColonToken
);
3948
N(SyntaxKind.
ColonToken
);
3989
N(SyntaxKind.
ColonToken
);
4005
N(SyntaxKind.
ColonToken
);
4362
N(SyntaxKind.
ColonToken
);
4526
N(SyntaxKind.
ColonToken
);
4717
N(SyntaxKind.
ColonToken
);
4818
N(SyntaxKind.
ColonToken
);
4836
N(SyntaxKind.
ColonToken
);
4858
N(SyntaxKind.
ColonToken
);
4876
N(SyntaxKind.
ColonToken
);
4945
N(SyntaxKind.
ColonToken
);
4963
N(SyntaxKind.
ColonToken
);
4985
N(SyntaxKind.
ColonToken
);
5003
N(SyntaxKind.
ColonToken
);
5074
N(SyntaxKind.
ColonToken
);
5089
N(SyntaxKind.
ColonToken
);
5107
N(SyntaxKind.
ColonToken
);
5125
N(SyntaxKind.
ColonToken
);
5140
N(SyntaxKind.
ColonToken
);
5158
N(SyntaxKind.
ColonToken
);
5209
N(SyntaxKind.
ColonToken
);
5219
N(SyntaxKind.
ColonToken
);
5281
N(SyntaxKind.
ColonToken
);
5296
N(SyntaxKind.
ColonToken
);
5369
N(SyntaxKind.
ColonToken
);
5389
N(SyntaxKind.
ColonToken
);
5457
M(SyntaxKind.
ColonToken
);
5477
M(SyntaxKind.
ColonToken
);
5526
N(SyntaxKind.
ColonToken
);
5582
N(SyntaxKind.
ColonToken
);
5588
M(SyntaxKind.
ColonToken
);
5654
N(SyntaxKind.
ColonToken
);
5724
N(SyntaxKind.
ColonToken
);
5799
N(SyntaxKind.
ColonToken
);
5880
M(SyntaxKind.
ColonToken
);
5974
M(SyntaxKind.
ColonToken
);
Parsing\SuppressNullableWarningExpressionParsingTests.cs (4)
432
M(SyntaxKind.
ColonToken
);
503
M(SyntaxKind.
ColonToken
);
574
M(SyntaxKind.
ColonToken
);
644
M(SyntaxKind.
ColonToken
);
Parsing\SwitchExpressionParsingTests.cs (22)
405
N(SyntaxKind.
ColonToken
);
2905
N(SyntaxKind.
ColonToken
);
2949
N(SyntaxKind.
ColonToken
);
3028
N(SyntaxKind.
ColonToken
);
3072
N(SyntaxKind.
ColonToken
);
3151
N(SyntaxKind.
ColonToken
);
3195
N(SyntaxKind.
ColonToken
);
3280
N(SyntaxKind.
ColonToken
);
3324
N(SyntaxKind.
ColonToken
);
3409
N(SyntaxKind.
ColonToken
);
3424
N(SyntaxKind.
ColonToken
);
3468
N(SyntaxKind.
ColonToken
);
3483
N(SyntaxKind.
ColonToken
);
3574
N(SyntaxKind.
ColonToken
);
3589
N(SyntaxKind.
ColonToken
);
3633
N(SyntaxKind.
ColonToken
);
3648
N(SyntaxKind.
ColonToken
);
4180
N(SyntaxKind.
ColonToken
);
4206
N(SyntaxKind.
ColonToken
);
4381
M(SyntaxKind.
ColonToken
);
4438
N(SyntaxKind.
ColonToken
);
4869
N(SyntaxKind.
ColonToken
);
Parsing\TopLevelStatementsParsingTests.cs (1)
686
N(SyntaxKind.
ColonToken
);
Parsing\TypeArgumentListParsingTests.cs (1)
1723
M(SyntaxKind.
ColonToken
);
Parsing\UsingDirectiveParsingTests.cs (2)
3708
N(SyntaxKind.
ColonToken
);
3870
N(SyntaxKind.
ColonToken
);
Parsing\ValueTupleTests.cs (3)
659
N(SyntaxKind.
ColonToken
);
767
N(SyntaxKind.
ColonToken
);
820
N(SyntaxKind.
ColonToken
);
Microsoft.CodeAnalysis.CSharp.Workspaces (31)
Classification\ClassificationHelpers.cs (2)
368
case SyntaxKind.
ColonToken
:
404
case SyntaxKind.
ColonToken
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeGeneration\CSharpSyntaxTokens.cs (1)
22
public static readonly SyntaxToken ColonToken = Token(SyntaxKind.
ColonToken
);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ParenthesizedExpressionSyntaxExtensions.cs (1)
377
if (nodeOrToken.Kind() is SyntaxKind.
ColonToken
or SyntaxKind.ColonColonToken)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTokenExtensions.cs (1)
305
case SyntaxKind.
ColonToken
: // for global:: (so we don't dismiss help as you type the first :)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\FormattingHelpers.cs (4)
119
=> token.Kind() == SyntaxKind.
ColonToken
&& token.Parent.IsKind(SyntaxKind.BaseList);
334
=> token.Kind() == SyntaxKind.
ColonToken
&& token.Parent is CasePatternSwitchLabelSyntax;
337
=> token.Kind() == SyntaxKind.
ColonToken
&& token.Parent.IsKind(SyntaxKind.SwitchExpressionArm);
357
return token.Kind() == SyntaxKind.
ColonToken
&&
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\ElasticTriviaFormattingRule.cs (1)
364
case SyntaxKind.
ColonToken
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\SpacingFormattingRule.cs (2)
518
if ((previousKind == SyntaxKind.
ColonToken
&& previousToken.Parent is InterpolationFormatClauseSyntax) ||
519
(currentKind == SyntaxKind.
ColonToken
&& currentToken.Parent is InterpolationFormatClauseSyntax))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\TokenBasedFormattingRule.cs (1)
397
if (currentToken.IsKind(SyntaxKind.
ColonToken
))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxKinds.cs (1)
49
public int ColonToken => (int)SyntaxKind.
ColonToken
;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\FormattingRangeHelper.cs (3)
70
case SyntaxKind.
ColonToken
:
279
if (endToken.Kind() == SyntaxKind.
ColonToken
&& parent is LabeledStatementSyntax)
408
return token.Kind() == SyntaxKind.
ColonToken
&&
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTokenExtensions.cs (3)
155
case SyntaxKind.
ColonToken
:
401
if (targetToken.Kind() == SyntaxKind.
ColonToken
)
449
if (targetToken.Kind() == SyntaxKind.
ColonToken
&&
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (9)
51
if (token.IsKind(SyntaxKind.
ColonToken
) &&
777
if (token.Kind() is SyntaxKind.
ColonToken
or SyntaxKind.CommaToken &&
850
if (token.IsKind(SyntaxKind.
ColonToken
) &&
956
targetToken.Kind() is SyntaxKind.
ColonToken
or SyntaxKind.CommaToken;
1420
if (leftToken.IsKind(SyntaxKind.
ColonToken
) && leftToken.Parent is (kind: SyntaxKind.NameColon or SyntaxKind.ExpressionColon) &&
2117
if (token.IsKind(SyntaxKind.
ColonToken
) &&
2391
if (token.IsKind(SyntaxKind.
ColonToken
) &&
2465
if (token.IsKind(SyntaxKind.
ColonToken
) &&
2995
targetToken.IsKind(SyntaxKind.
ColonToken
) &&
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\SyntaxTreeExtensions.cs (1)
130
case SyntaxKind.
ColonToken
: // for global:: (so we don't dismiss help as you type the first :)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Indentation\CSharpIndentationService.Indenter.cs (1)
268
case SyntaxKind.
ColonToken
:
Microsoft.VisualStudio.LanguageServices.CSharp (2)
CodeModel\CSharpCodeModelService.cs (1)
1767
SyntaxFactory.Token([SyntaxFactory.ElasticMarker], SyntaxKind.
ColonToken
, [SyntaxFactory.Space]))
LanguageService\CSharpHelpContextService.cs (1)
238
if (token.IsKind(SyntaxKind.
ColonToken
) && token.Parent is NameColonSyntax)