275 references to SingleVariableDesignation
Microsoft.CodeAnalysis.CSharp (20)
Binder\Binder_Deconstruct.cs (1)
809
case SyntaxKind.
SingleVariableDesignation
:
Binder\Binder_Expressions.cs (2)
944
case SyntaxKind.
SingleVariableDesignation
:
3137
case SyntaxKind.
SingleVariableDesignation
:
Binder\Binder_Patterns.cs (2)
1224
if (node.Designation?.Kind() == SyntaxKind.
SingleVariableDesignation
)
1355
case SyntaxKind.
SingleVariableDesignation
:
Binder\ExpressionVariableFinder.cs (4)
215
if (node.Designation?.Kind() == SyntaxKind.
SingleVariableDesignation
)
242
case SyntaxKind.
SingleVariableDesignation
:
420
case SyntaxKind.
SingleVariableDesignation
:
501
case SyntaxKind.
SingleVariableDesignation
:
Binder\ForEachLoopBinder.cs (1)
147
case SyntaxKind.
SingleVariableDesignation
:
BoundTree\VariablePendingInference.cs (3)
37
Debug.Assert(this.Syntax.Kind() == SyntaxKind.
SingleVariableDesignation
||
39
((DeclarationExpressionSyntax)this.Syntax).Designation.Kind() == SyntaxKind.
SingleVariableDesignation
));
127
case SyntaxKind.
SingleVariableDesignation
:
Compilation\CSharpSemanticModel.cs (4)
536
case SyntaxKind.
SingleVariableDesignation
:
559
if (declaration.Designation.Kind() != SyntaxKind.
SingleVariableDesignation
)
962
case SyntaxKind.
SingleVariableDesignation
:
5111
case SyntaxKind.
SingleVariableDesignation
:
Parser\LanguageParser.cs (1)
9361
case SyntaxKind.
SingleVariableDesignation
:
Syntax\SyntaxExtensions.cs (1)
392
return p.Designation.Kind() == SyntaxKind.
SingleVariableDesignation
&& p.IsOutDeclaration();
Syntax\SyntaxFacts.cs (1)
468
case SyntaxKind.
SingleVariableDesignation
:
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
src\Analyzers\CSharp\Analyzers\ConvertSwitchStatementToExpression\ConvertSwitchStatementToExpressionHelpers.cs (1)
31
varPattern.Designation.Kind() is SyntaxKind.DiscardDesignation or SyntaxKind.
SingleVariableDesignation
)
src\Analyzers\CSharp\Analyzers\NamingStyle\CSharpNamingStyleDiagnosticAnalyzer.cs (1)
22
SyntaxKind.
SingleVariableDesignation
,
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (2)
src\Analyzers\CSharp\CodeFixes\RemoveUnusedParametersAndValues\CSharpRemoveUnusedValuesCodeFixProvider.cs (1)
72
case SyntaxKind.
SingleVariableDesignation
:
src\Analyzers\CSharp\CodeFixes\UseImplicitOrExplicitType\UseExplicitTypeCodeFixProvider.cs (1)
188
case SyntaxKind.
SingleVariableDesignation
:
Microsoft.CodeAnalysis.CSharp.Features (9)
Debugging\CSharpProximityExpressionsService.RelevantExpressionsCollector.cs (1)
149
case SyntaxKind.
SingleVariableDesignation
:
EditAndContinue\SyntaxComparer.cs (3)
335
case SyntaxKind.
SingleVariableDesignation
:
896
case SyntaxKind.
SingleVariableDesignation
:
1347
case SyntaxKind.
SingleVariableDesignation
:
ExtractMethod\CSharpMethodExtractor.CSharpCodeGenerator.cs (1)
445
if (declaration.Designation.Kind() != SyntaxKind.
SingleVariableDesignation
)
src\Analyzers\CSharp\Analyzers\ConvertSwitchStatementToExpression\ConvertSwitchStatementToExpressionHelpers.cs (1)
31
varPattern.Designation.Kind() is SyntaxKind.DiscardDesignation or SyntaxKind.
SingleVariableDesignation
)
src\Analyzers\CSharp\Analyzers\NamingStyle\CSharpNamingStyleDiagnosticAnalyzer.cs (1)
22
SyntaxKind.
SingleVariableDesignation
,
src\Analyzers\CSharp\CodeFixes\RemoveUnusedParametersAndValues\CSharpRemoveUnusedValuesCodeFixProvider.cs (1)
72
case SyntaxKind.
SingleVariableDesignation
:
src\Analyzers\CSharp\CodeFixes\UseImplicitOrExplicitType\UseExplicitTypeCodeFixProvider.cs (1)
188
case SyntaxKind.
SingleVariableDesignation
:
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (238)
Parsing\AsyncParsingTests.cs (2)
2713
N(SyntaxKind.
SingleVariableDesignation
);
2809
N(SyntaxKind.
SingleVariableDesignation
);
Parsing\AsyncStreamsParsingTests.cs (2)
517
N(SyntaxKind.
SingleVariableDesignation
);
522
N(SyntaxKind.
SingleVariableDesignation
);
Parsing\DeclarationExpressionTests.cs (18)
47
N(SyntaxKind.
SingleVariableDesignation
);
164
N(SyntaxKind.
SingleVariableDesignation
);
247
N(SyntaxKind.
SingleVariableDesignation
);
479
N(SyntaxKind.
SingleVariableDesignation
);
494
N(SyntaxKind.
SingleVariableDesignation
);
536
N(SyntaxKind.
SingleVariableDesignation
);
551
N(SyntaxKind.
SingleVariableDesignation
);
681
N(SyntaxKind.
SingleVariableDesignation
);
686
N(SyntaxKind.
SingleVariableDesignation
);
727
N(SyntaxKind.
SingleVariableDesignation
);
745
N(SyntaxKind.
SingleVariableDesignation
);
750
N(SyntaxKind.
SingleVariableDesignation
);
798
N(SyntaxKind.
SingleVariableDesignation
);
803
N(SyntaxKind.
SingleVariableDesignation
);
1151
N(SyntaxKind.
SingleVariableDesignation
);
1166
N(SyntaxKind.
SingleVariableDesignation
);
1213
N(SyntaxKind.
SingleVariableDesignation
);
1228
N(SyntaxKind.
SingleVariableDesignation
);
Parsing\DeclarationParsingTests.cs (1)
6594
N(SyntaxKind.
SingleVariableDesignation
);
Parsing\DeclarationScopeParsingTests.cs (61)
3509
N(SyntaxKind.
SingleVariableDesignation
);
3524
N(SyntaxKind.
SingleVariableDesignation
);
3580
N(SyntaxKind.
SingleVariableDesignation
);
3595
N(SyntaxKind.
SingleVariableDesignation
);
3804
N(SyntaxKind.
SingleVariableDesignation
);
3819
N(SyntaxKind.
SingleVariableDesignation
);
4042
N(SyntaxKind.
SingleVariableDesignation
);
4057
N(SyntaxKind.
SingleVariableDesignation
);
4186
N(SyntaxKind.
SingleVariableDesignation
);
4201
N(SyntaxKind.
SingleVariableDesignation
);
4335
N(SyntaxKind.
SingleVariableDesignation
);
4350
N(SyntaxKind.
SingleVariableDesignation
);
4480
N(SyntaxKind.
SingleVariableDesignation
);
4495
N(SyntaxKind.
SingleVariableDesignation
);
4555
N(SyntaxKind.
SingleVariableDesignation
);
4570
N(SyntaxKind.
SingleVariableDesignation
);
4631
N(SyntaxKind.
SingleVariableDesignation
);
4646
N(SyntaxKind.
SingleVariableDesignation
);
4706
N(SyntaxKind.
SingleVariableDesignation
);
4721
N(SyntaxKind.
SingleVariableDesignation
);
4777
N(SyntaxKind.
SingleVariableDesignation
);
4792
N(SyntaxKind.
SingleVariableDesignation
);
4848
N(SyntaxKind.
SingleVariableDesignation
);
4863
N(SyntaxKind.
SingleVariableDesignation
);
4923
N(SyntaxKind.
SingleVariableDesignation
);
4938
N(SyntaxKind.
SingleVariableDesignation
);
4999
N(SyntaxKind.
SingleVariableDesignation
);
5014
N(SyntaxKind.
SingleVariableDesignation
);
5066
N(SyntaxKind.
SingleVariableDesignation
);
5081
N(SyntaxKind.
SingleVariableDesignation
);
5137
N(SyntaxKind.
SingleVariableDesignation
);
5152
N(SyntaxKind.
SingleVariableDesignation
);
5585
N(SyntaxKind.
SingleVariableDesignation
);
5600
N(SyntaxKind.
SingleVariableDesignation
);
5652
N(SyntaxKind.
SingleVariableDesignation
);
5671
N(SyntaxKind.
SingleVariableDesignation
);
5723
N(SyntaxKind.
SingleVariableDesignation
);
5750
N(SyntaxKind.
SingleVariableDesignation
);
5816
N(SyntaxKind.
SingleVariableDesignation
);
5928
N(SyntaxKind.
SingleVariableDesignation
);
5984
N(SyntaxKind.
SingleVariableDesignation
);
6122
N(SyntaxKind.
SingleVariableDesignation
);
6187
N(SyntaxKind.
SingleVariableDesignation
);
6416
N(SyntaxKind.
SingleVariableDesignation
);
6547
N(SyntaxKind.
SingleVariableDesignation
);
6680
N(SyntaxKind.
SingleVariableDesignation
);
6827
N(SyntaxKind.
SingleVariableDesignation
);
6887
N(SyntaxKind.
SingleVariableDesignation
);
6948
N(SyntaxKind.
SingleVariableDesignation
);
7008
N(SyntaxKind.
SingleVariableDesignation
);
7064
N(SyntaxKind.
SingleVariableDesignation
);
7120
N(SyntaxKind.
SingleVariableDesignation
);
7180
N(SyntaxKind.
SingleVariableDesignation
);
7241
N(SyntaxKind.
SingleVariableDesignation
);
7293
N(SyntaxKind.
SingleVariableDesignation
);
7349
N(SyntaxKind.
SingleVariableDesignation
);
7411
N(SyntaxKind.
SingleVariableDesignation
);
7487
N(SyntaxKind.
SingleVariableDesignation
);
7567
N(SyntaxKind.
SingleVariableDesignation
);
7780
N(SyntaxKind.
SingleVariableDesignation
);
11081
N(SyntaxKind.
SingleVariableDesignation
);
Parsing\DeconstructionTests.cs (35)
729
N(SyntaxKind.
SingleVariableDesignation
);
744
N(SyntaxKind.
SingleVariableDesignation
);
824
N(SyntaxKind.
SingleVariableDesignation
);
839
N(SyntaxKind.
SingleVariableDesignation
);
857
N(SyntaxKind.
SingleVariableDesignation
);
930
N(SyntaxKind.
SingleVariableDesignation
);
935
N(SyntaxKind.
SingleVariableDesignation
);
1010
N(SyntaxKind.
SingleVariableDesignation
);
1015
N(SyntaxKind.
SingleVariableDesignation
);
1022
N(SyntaxKind.
SingleVariableDesignation
);
1170
N(SyntaxKind.
SingleVariableDesignation
);
1188
N(SyntaxKind.
SingleVariableDesignation
);
1193
N(SyntaxKind.
SingleVariableDesignation
);
1271
N(SyntaxKind.
SingleVariableDesignation
);
1286
N(SyntaxKind.
SingleVariableDesignation
);
1367
N(SyntaxKind.
SingleVariableDesignation
);
1372
N(SyntaxKind.
SingleVariableDesignation
);
1452
N(SyntaxKind.
SingleVariableDesignation
);
1467
N(SyntaxKind.
SingleVariableDesignation
);
1543
N(SyntaxKind.
SingleVariableDesignation
);
1548
N(SyntaxKind.
SingleVariableDesignation
);
1600
N(SyntaxKind.
SingleVariableDesignation
);
1615
N(SyntaxKind.
SingleVariableDesignation
);
1677
N(SyntaxKind.
SingleVariableDesignation
);
1692
N(SyntaxKind.
SingleVariableDesignation
);
2440
N(SyntaxKind.
SingleVariableDesignation
);
2507
N(SyntaxKind.
SingleVariableDesignation
);
2944
N(SyntaxKind.
SingleVariableDesignation
);
2949
N(SyntaxKind.
SingleVariableDesignation
);
3439
N(SyntaxKind.
SingleVariableDesignation
);
3486
N(SyntaxKind.
SingleVariableDesignation
);
3501
N(SyntaxKind.
SingleVariableDesignation
);
3548
N(SyntaxKind.
SingleVariableDesignation
);
3563
N(SyntaxKind.
SingleVariableDesignation
);
3610
N(SyntaxKind.
SingleVariableDesignation
);
Parsing\FunctionPointerTests.cs (5)
2532
N(SyntaxKind.
SingleVariableDesignation
);
2628
N(SyntaxKind.
SingleVariableDesignation
);
2640
N(SyntaxKind.
SingleVariableDesignation
);
2742
N(SyntaxKind.
SingleVariableDesignation
);
2761
N(SyntaxKind.
SingleVariableDesignation
);
Parsing\LambdaAttributeParsingTests.cs (4)
2031
N(SyntaxKind.
SingleVariableDesignation
);
2091
N(SyntaxKind.
SingleVariableDesignation
);
2145
N(SyntaxKind.
SingleVariableDesignation
);
2196
N(SyntaxKind.
SingleVariableDesignation
);
Parsing\LambdaParameterParsingTests.cs (4)
669
N(SyntaxKind.
SingleVariableDesignation
);
729
N(SyntaxKind.
SingleVariableDesignation
);
4652
N(SyntaxKind.
SingleVariableDesignation
);
5055
N(SyntaxKind.
SingleVariableDesignation
);
Parsing\LambdaReturnTypeParsingTests.cs (7)
3905
N(SyntaxKind.
SingleVariableDesignation
);
4552
N(SyntaxKind.
SingleVariableDesignation
);
4597
N(SyntaxKind.
SingleVariableDesignation
);
4612
N(SyntaxKind.
SingleVariableDesignation
);
4643
N(SyntaxKind.
SingleVariableDesignation
);
4658
N(SyntaxKind.
SingleVariableDesignation
);
4666
N(SyntaxKind.
SingleVariableDesignation
);
Parsing\MemberDeclarationParsingTests.cs (8)
16203
N(SyntaxKind.
SingleVariableDesignation
);
16208
N(SyntaxKind.
SingleVariableDesignation
);
16356
N(SyntaxKind.
SingleVariableDesignation
);
16361
N(SyntaxKind.
SingleVariableDesignation
);
16769
N(SyntaxKind.
SingleVariableDesignation
);
16774
N(SyntaxKind.
SingleVariableDesignation
);
16950
N(SyntaxKind.
SingleVariableDesignation
);
16955
N(SyntaxKind.
SingleVariableDesignation
);
Parsing\NullableParsingTests.cs (9)
787
N(SyntaxKind.
SingleVariableDesignation
);
934
N(SyntaxKind.
SingleVariableDesignation
);
1005
N(SyntaxKind.
SingleVariableDesignation
);
1847
N(SyntaxKind.
SingleVariableDesignation
);
1925
N(SyntaxKind.
SingleVariableDesignation
);
1941
N(SyntaxKind.
SingleVariableDesignation
);
2014
N(SyntaxKind.
SingleVariableDesignation
);
2175
N(SyntaxKind.
SingleVariableDesignation
);
2344
N(SyntaxKind.
SingleVariableDesignation
);
Parsing\PatternParsingTests.cs (41)
987
N(SyntaxKind.
SingleVariableDesignation
);
1029
N(SyntaxKind.
SingleVariableDesignation
);
1211
N(SyntaxKind.
SingleVariableDesignation
);
1334
N(SyntaxKind.
SingleVariableDesignation
);
1443
N(SyntaxKind.
SingleVariableDesignation
);
1555
N(SyntaxKind.
SingleVariableDesignation
);
1599
N(SyntaxKind.
SingleVariableDesignation
);
2131
N(SyntaxKind.
SingleVariableDesignation
);
3223
N(SyntaxKind.
SingleVariableDesignation
);
3290
N(SyntaxKind.
SingleVariableDesignation
);
3473
N(SyntaxKind.
SingleVariableDesignation
);
3540
N(SyntaxKind.
SingleVariableDesignation
);
3771
N(SyntaxKind.
SingleVariableDesignation
);
3854
N(SyntaxKind.
SingleVariableDesignation
);
3923
N(SyntaxKind.
SingleVariableDesignation
);
3996
N(SyntaxKind.
SingleVariableDesignation
);
4067
N(SyntaxKind.
SingleVariableDesignation
);
4140
N(SyntaxKind.
SingleVariableDesignation
);
4227
N(SyntaxKind.
SingleVariableDesignation
);
4316
N(SyntaxKind.
SingleVariableDesignation
);
4430
N(SyntaxKind.
SingleVariableDesignation
);
4536
N(SyntaxKind.
SingleVariableDesignation
);
4604
N(SyntaxKind.
SingleVariableDesignation
);
4668
N(SyntaxKind.
SingleVariableDesignation
);
4755
N(SyntaxKind.
SingleVariableDesignation
);
4838
N(SyntaxKind.
SingleVariableDesignation
);
4883
N(SyntaxKind.
SingleVariableDesignation
);
5434
N(SyntaxKind.
SingleVariableDesignation
);
5765
N(SyntaxKind.
SingleVariableDesignation
);
5829
N(SyntaxKind.
SingleVariableDesignation
);
6062
N(SyntaxKind.
SingleVariableDesignation
);
6164
N(SyntaxKind.
SingleVariableDesignation
);
8198
N(SyntaxKind.
SingleVariableDesignation
);
9278
N(SyntaxKind.
SingleVariableDesignation
);
9332
N(SyntaxKind.
SingleVariableDesignation
);
9928
N(SyntaxKind.
SingleVariableDesignation
);
10018
N(SyntaxKind.
SingleVariableDesignation
);
10168
N(SyntaxKind.
SingleVariableDesignation
);
10216
N(SyntaxKind.
SingleVariableDesignation
);
10618
N(SyntaxKind.
SingleVariableDesignation
);
10696
N(SyntaxKind.
SingleVariableDesignation
);
Parsing\PatternParsingTests_ListPatterns.cs (20)
87
N(SyntaxKind.
SingleVariableDesignation
);
331
N(SyntaxKind.
SingleVariableDesignation
);
336
N(SyntaxKind.
SingleVariableDesignation
);
495
N(SyntaxKind.
SingleVariableDesignation
);
728
N(SyntaxKind.
SingleVariableDesignation
);
786
N(SyntaxKind.
SingleVariableDesignation
);
822
N(SyntaxKind.
SingleVariableDesignation
);
1014
N(SyntaxKind.
SingleVariableDesignation
);
1050
N(SyntaxKind.
SingleVariableDesignation
);
1166
N(SyntaxKind.
SingleVariableDesignation
);
1206
N(SyntaxKind.
SingleVariableDesignation
);
1257
N(SyntaxKind.
SingleVariableDesignation
);
1320
N(SyntaxKind.
SingleVariableDesignation
);
1383
N(SyntaxKind.
SingleVariableDesignation
);
1446
N(SyntaxKind.
SingleVariableDesignation
);
1459
N(SyntaxKind.
SingleVariableDesignation
);
1513
N(SyntaxKind.
SingleVariableDesignation
);
1526
N(SyntaxKind.
SingleVariableDesignation
);
1580
N(SyntaxKind.
SingleVariableDesignation
);
1593
N(SyntaxKind.
SingleVariableDesignation
);
Parsing\PatternParsingTests2.cs (7)
1449
N(SyntaxKind.
SingleVariableDesignation
);
1499
N(SyntaxKind.
SingleVariableDesignation
);
1526
N(SyntaxKind.
SingleVariableDesignation
);
1579
N(SyntaxKind.
SingleVariableDesignation
);
1606
N(SyntaxKind.
SingleVariableDesignation
);
1719
N(SyntaxKind.
SingleVariableDesignation
);
1735
N(SyntaxKind.
SingleVariableDesignation
);
Parsing\RecordParsing.cs (3)
1835
N(SyntaxKind.
SingleVariableDesignation
);
1872
N(SyntaxKind.
SingleVariableDesignation
);
2034
N(SyntaxKind.
SingleVariableDesignation
);
Parsing\StatementAttributeParsingTests.cs (2)
1286
N(SyntaxKind.
SingleVariableDesignation
);
1291
N(SyntaxKind.
SingleVariableDesignation
);
Parsing\StatementParsingTests.cs (2)
5703
N(SyntaxKind.
SingleVariableDesignation
);
5776
N(SyntaxKind.
SingleVariableDesignation
);
Parsing\SwitchExpressionParsingTests.cs (4)
4599
N(SyntaxKind.
SingleVariableDesignation
);
4664
N(SyntaxKind.
SingleVariableDesignation
);
4729
N(SyntaxKind.
SingleVariableDesignation
);
4799
N(SyntaxKind.
SingleVariableDesignation
);
Parsing\TypeArgumentListParsingTests.cs (2)
2777
N(SyntaxKind.
SingleVariableDesignation
);
2792
N(SyntaxKind.
SingleVariableDesignation
);
Parsing\ValueTupleTests.cs (1)
890
N(SyntaxKind.
SingleVariableDesignation
);
Microsoft.CodeAnalysis.Test.Utilities (4)
Compilation\TestOperationVisitor.cs (4)
1417
operation.Syntax.IsKind(CSharp.SyntaxKind.
SingleVariableDesignation
))
1432
if (designation.IsKind(CSharp.SyntaxKind.
SingleVariableDesignation
))
1464
if (designation.IsKind(CSharp.SyntaxKind.
SingleVariableDesignation
))
1501
if (designation.IsKind(CSharp.SyntaxKind.
SingleVariableDesignation
))