106 references to DotDotToken
Microsoft.CodeAnalysis.CSharp (18)
Parser\LanguageParser.cs (14)
2923
case SyntaxKind.
DotDotToken
: // Goo.. explicit
3281
(haveExplicitInterfaceName && separatorKind is not (SyntaxKind.DotToken or SyntaxKind.
DotDotToken
)))
6145
if (this.CurrentToken.Kind == SyntaxKind.
DotDotToken
)
6173
else if (this.CurrentToken.Kind == SyntaxKind.
DotDotToken
)
6304
return this.IsDotOrColonColon() || this.CurrentToken.Kind == SyntaxKind.
DotDotToken
;
6312
Debug.Assert(separator.Kind is SyntaxKind.DotToken or SyntaxKind.
DotDotToken
or SyntaxKind.ColonColonToken);
6319
case SyntaxKind.
DotDotToken
:
6357
Debug.Assert(separator.Kind == SyntaxKind.
DotDotToken
);
9971
case SyntaxKind.
DotDotToken
:
10316
else if (tk == SyntaxKind.
DotDotToken
)
10392
else if (tk == SyntaxKind.
DotDotToken
)
10539
else if (tk == SyntaxKind.
DotDotToken
)
11592
SyntaxKind.
DotDotToken
=> true,
11833
case SyntaxKind.
DotDotToken
:
Parser\LanguageParser_Patterns.cs (1)
196
case SyntaxKind.
DotDotToken
:
Parser\Lexer.cs (2)
480
info.Kind = SyntaxKind.
DotDotToken
;
4065
info.Kind = SyntaxKind.
DotDotToken
;
Syntax\SyntaxKindFacts.cs (1)
1461
case SyntaxKind.
DotDotToken
:
Microsoft.CodeAnalysis.CSharp.CodeStyle (4)
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTreeExtensions.cs\SyntaxTreeExtensions.cs (1)
137
(targetToken.IsKind(SyntaxKind.
DotDotToken
) && position == targetToken.SpanStart + 1) ||
SpacingFormattingRule.cs (3)
465
if (previousKind == SyntaxKind.
DotDotToken
&& previousParentKind == SyntaxKind.SlicePattern)
537
if (previousKind == SyntaxKind.
DotDotToken
&& previousParentKind == SyntaxKind.RangeExpression)
548
if (currentKind == SyntaxKind.
DotDotToken
&& currentParentKind == SyntaxKind.RangeExpression)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (3)
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs\SyntaxTreeExtensions.cs (3)
1398
if (leftToken.IsKind(SyntaxKind.
DotDotToken
) && leftToken.Parent.IsKind(SyntaxKind.SlicePattern))
1473
or SyntaxKind.
DotDotToken
2371
if (token.IsKind(SyntaxKind.
DotDotToken
) &&
Microsoft.CodeAnalysis.CSharp.Features (2)
Completion\CompletionProviders\CompletionUtilities.cs (1)
38
if (token.Kind() == SyntaxKind.
DotDotToken
&& token.SpanStart == characterPosition)
Completion\CompletionProviders\OperatorsAndIndexer\UnnamedSymbolCompletionProvider_Operators.cs (1)
146
dotLikeToken.Kind() == SyntaxKind.
DotDotToken
? dotLikeToken.Span.Start + 1 : dotLikeToken.Span.End),
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (72)
Generated\Syntax.Test.xml.Generated.cs (8)
101
=> InternalSyntaxFactory.RangeExpression(null, InternalSyntaxFactory.Token(SyntaxKind.
DotDotToken
), null);
308
=> InternalSyntaxFactory.SlicePattern(InternalSyntaxFactory.Token(SyntaxKind.
DotDotToken
), null);
1063
Assert.Equal(SyntaxKind.
DotDotToken
, node.OperatorToken.Kind);
1893
Assert.Equal(SyntaxKind.
DotDotToken
, node.DotDotToken.Kind);
10077
=> SyntaxFactory.RangeExpression(default(ExpressionSyntax), SyntaxFactory.Token(SyntaxKind.
DotDotToken
), default(ExpressionSyntax));
10284
=> SyntaxFactory.SlicePattern(SyntaxFactory.Token(SyntaxKind.
DotDotToken
), default(PatternSyntax));
11039
Assert.Equal(SyntaxKind.
DotDotToken
, node.OperatorToken.Kind());
11869
Assert.Equal(SyntaxKind.
DotDotToken
, node.DotDotToken.Kind());
Parsing\ExpressionParsingTests.cs (35)
5297
N(SyntaxKind.
DotDotToken
);
5316
N(SyntaxKind.
DotDotToken
);
5339
N(SyntaxKind.
DotDotToken
);
5371
N(SyntaxKind.
DotDotToken
);
5406
N(SyntaxKind.
DotDotToken
);
5441
N(SyntaxKind.
DotDotToken
);
5470
N(SyntaxKind.
DotDotToken
);
5497
N(SyntaxKind.
DotDotToken
);
5524
N(SyntaxKind.
DotDotToken
);
5542
N(SyntaxKind.
DotDotToken
);
5561
N(SyntaxKind.
DotDotToken
);
5582
N(SyntaxKind.
DotDotToken
);
5585
N(SyntaxKind.
DotDotToken
);
5597
N(SyntaxKind.
DotDotToken
);
5600
N(SyntaxKind.
DotDotToken
);
5616
N(SyntaxKind.
DotDotToken
);
5623
N(SyntaxKind.
DotDotToken
);
5639
N(SyntaxKind.
DotDotToken
);
5642
N(SyntaxKind.
DotDotToken
);
5662
N(SyntaxKind.
DotDotToken
);
5669
N(SyntaxKind.
DotDotToken
);
5685
N(SyntaxKind.
DotDotToken
);
5692
N(SyntaxKind.
DotDotToken
);
5713
N(SyntaxKind.
DotDotToken
);
5741
N(SyntaxKind.
DotDotToken
);
5756
N(SyntaxKind.
DotDotToken
);
5779
N(SyntaxKind.
DotDotToken
);
5798
N(SyntaxKind.
DotDotToken
);
5809
N(SyntaxKind.
DotDotToken
);
5829
N(SyntaxKind.
DotDotToken
);
5877
N(SyntaxKind.
DotDotToken
);
5896
N(SyntaxKind.
DotDotToken
);
5907
N(SyntaxKind.
DotDotToken
);
5942
N(SyntaxKind.
DotDotToken
);
5987
N(SyntaxKind.
DotDotToken
);
Parsing\LambdaAttributeParsingTests.cs (2)
1932
N(SyntaxKind.
DotDotToken
);
1963
N(SyntaxKind.
DotDotToken
);
Parsing\LambdaReturnTypeParsingTests.cs (2)
4663
N(SyntaxKind.
DotDotToken
);
4723
N(SyntaxKind.
DotDotToken
);
Parsing\PatternParsingTests_ListPatterns.cs (21)
464
N(SyntaxKind.
DotDotToken
);
490
N(SyntaxKind.
DotDotToken
);
520
N(SyntaxKind.
DotDotToken
);
544
N(SyntaxKind.
DotDotToken
);
547
N(SyntaxKind.
DotDotToken
);
571
N(SyntaxKind.
DotDotToken
);
601
N(SyntaxKind.
DotDotToken
);
637
N(SyntaxKind.
DotDotToken
);
680
N(SyntaxKind.
DotDotToken
);
693
N(SyntaxKind.
DotDotToken
);
724
N(SyntaxKind.
DotDotToken
);
752
N(SyntaxKind.
DotDotToken
);
794
N(SyntaxKind.
DotDotToken
);
828
N(SyntaxKind.
DotDotToken
);
859
N(SyntaxKind.
DotDotToken
);
933
N(SyntaxKind.
DotDotToken
);
962
N(SyntaxKind.
DotDotToken
);
967
N(SyntaxKind.
DotDotToken
);
1020
N(SyntaxKind.
DotDotToken
);
1058
N(SyntaxKind.
DotDotToken
);
1086
N(SyntaxKind.
DotDotToken
);
Parsing\StatementAttributeParsingTests.cs (4)
5782
N(SyntaxKind.
DotDotToken
);
5888
N(SyntaxKind.
DotDotToken
);
5983
N(SyntaxKind.
DotDotToken
);
6082
N(SyntaxKind.
DotDotToken
);
Microsoft.CodeAnalysis.CSharp.Workspaces (7)
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTreeExtensions.cs\SyntaxTreeExtensions.cs (1)
137
(targetToken.IsKind(SyntaxKind.
DotDotToken
) && position == targetToken.SpanStart + 1) ||
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs\SyntaxTreeExtensions.cs (3)
1398
if (leftToken.IsKind(SyntaxKind.
DotDotToken
) && leftToken.Parent.IsKind(SyntaxKind.SlicePattern))
1473
or SyntaxKind.
DotDotToken
2371
if (token.IsKind(SyntaxKind.
DotDotToken
) &&
SpacingFormattingRule.cs (3)
465
if (previousKind == SyntaxKind.
DotDotToken
&& previousParentKind == SyntaxKind.SlicePattern)
537
if (previousKind == SyntaxKind.
DotDotToken
&& previousParentKind == SyntaxKind.RangeExpression)
548
if (currentKind == SyntaxKind.
DotDotToken
&& currentParentKind == SyntaxKind.RangeExpression)