81 references to RangeExpression
Microsoft.CodeAnalysis.CSharp (4)
Binder\Binder_Expressions.cs (1)
679
case SyntaxKind.
RangeExpression
:
Parser\LanguageParser.cs (3)
10833
case SyntaxKind.
RangeExpression
:
11142
if (operatorExpressionKind == SyntaxKind.
RangeExpression
)
11190
return (SyntaxKind.DotDotToken, SyntaxKind.
RangeExpression
);
Microsoft.CodeAnalysis.CSharp.CodeStyle (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs (1)
737
case SyntaxKind.
RangeExpression
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\SpacingFormattingRule.cs (2)
537
if (previousKind == SyntaxKind.DotDotToken && previousParentKind == SyntaxKind.
RangeExpression
)
548
if (currentKind == SyntaxKind.DotDotToken && currentParentKind == SyntaxKind.
RangeExpression
)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxKinds.cs (1)
113
public int? RangeExpression => (int)SyntaxKind.
RangeExpression
;
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
2375
token.Parent.IsKind(SyntaxKind.
RangeExpression
) &&
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (67)
Parsing\CollectionExpressionParsingTests.cs (9)
5361
N(SyntaxKind.
RangeExpression
);
6401
N(SyntaxKind.
RangeExpression
);
6422
N(SyntaxKind.
RangeExpression
);
6447
N(SyntaxKind.
RangeExpression
);
6472
N(SyntaxKind.
RangeExpression
);
6647
N(SyntaxKind.
RangeExpression
);
7027
N(SyntaxKind.
RangeExpression
);
11548
N(SyntaxKind.
RangeExpression
);
11621
N(SyntaxKind.
RangeExpression
);
Parsing\ExpressionParsingTests.cs (35)
5291
N(SyntaxKind.
RangeExpression
);
5310
N(SyntaxKind.
RangeExpression
);
5329
N(SyntaxKind.
RangeExpression
);
5365
N(SyntaxKind.
RangeExpression
);
5400
N(SyntaxKind.
RangeExpression
);
5435
N(SyntaxKind.
RangeExpression
);
5468
N(SyntaxKind.
RangeExpression
);
5491
N(SyntaxKind.
RangeExpression
);
5518
N(SyntaxKind.
RangeExpression
);
5536
N(SyntaxKind.
RangeExpression
);
5559
N(SyntaxKind.
RangeExpression
);
5580
N(SyntaxKind.
RangeExpression
);
5583
N(SyntaxKind.
RangeExpression
);
5595
N(SyntaxKind.
RangeExpression
);
5598
N(SyntaxKind.
RangeExpression
);
5614
N(SyntaxKind.
RangeExpression
);
5617
N(SyntaxKind.
RangeExpression
);
5633
N(SyntaxKind.
RangeExpression
);
5640
N(SyntaxKind.
RangeExpression
);
5656
N(SyntaxKind.
RangeExpression
);
5663
N(SyntaxKind.
RangeExpression
);
5679
N(SyntaxKind.
RangeExpression
);
5686
N(SyntaxKind.
RangeExpression
);
5702
N(SyntaxKind.
RangeExpression
);
5739
N(SyntaxKind.
RangeExpression
);
5754
N(SyntaxKind.
RangeExpression
);
5773
N(SyntaxKind.
RangeExpression
);
5788
N(SyntaxKind.
RangeExpression
);
5807
N(SyntaxKind.
RangeExpression
);
5827
N(SyntaxKind.
RangeExpression
);
5875
N(SyntaxKind.
RangeExpression
);
5890
N(SyntaxKind.
RangeExpression
);
5905
N(SyntaxKind.
RangeExpression
);
5936
N(SyntaxKind.
RangeExpression
);
5985
N(SyntaxKind.
RangeExpression
);
Parsing\LambdaAttributeParsingTests.cs (2)
1921
N(SyntaxKind.
RangeExpression
);
1956
N(SyntaxKind.
RangeExpression
);
Parsing\LambdaReturnTypeParsingTests.cs (2)
4734
N(SyntaxKind.
RangeExpression
);
4790
N(SyntaxKind.
RangeExpression
);
Parsing\PatternParsingTests_ListPatterns.cs (4)
810
N(SyntaxKind.
RangeExpression
);
948
N(SyntaxKind.
RangeExpression
);
983
N(SyntaxKind.
RangeExpression
);
1035
N(SyntaxKind.
RangeExpression
);
Parsing\RangeExpressionParsingTests.cs (11)
26
N(SyntaxKind.
RangeExpression
);
47
N(SyntaxKind.
RangeExpression
);
71
N(SyntaxKind.
RangeExpression
);
101
N(SyntaxKind.
RangeExpression
);
121
N(SyntaxKind.
RangeExpression
);
126
N(SyntaxKind.
RangeExpression
);
146
N(SyntaxKind.
RangeExpression
);
180
N(SyntaxKind.
RangeExpression
);
204
N(SyntaxKind.
RangeExpression
);
213
N(SyntaxKind.
RangeExpression
);
247
N(SyntaxKind.
RangeExpression
);
Parsing\StatementAttributeParsingTests.cs (4)
5791
N(SyntaxKind.
RangeExpression
);
5897
N(SyntaxKind.
RangeExpression
);
5984
N(SyntaxKind.
RangeExpression
);
6080
N(SyntaxKind.
RangeExpression
);
Microsoft.CodeAnalysis.CSharp.Workspaces (5)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs (1)
737
case SyntaxKind.
RangeExpression
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\SpacingFormattingRule.cs (2)
537
if (previousKind == SyntaxKind.DotDotToken && previousParentKind == SyntaxKind.
RangeExpression
)
548
if (currentKind == SyntaxKind.DotDotToken && currentParentKind == SyntaxKind.
RangeExpression
)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxKinds.cs (1)
113
public int? RangeExpression => (int)SyntaxKind.
RangeExpression
;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
2375
token.Parent.IsKind(SyntaxKind.
RangeExpression
) &&