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