750 references to VariableDeclaration
Microsoft.CodeAnalysis.CSharp (9)
Binder\Binder_Expressions.cs (1)
4624
if (!variableDeclaration.IsKind(SyntaxKind.
VariableDeclaration
))
Binder\Binder_Statements.cs (1)
790
declarationNode.Kind() == SyntaxKind.
VariableDeclaration
||
Binder\UsingStatementBinder.cs (1)
93
bool isExpression = !isUsingDeclaration && syntax.Kind() != SyntaxKind.
VariableDeclaration
;
Compilation\MemberSemanticModel.cs (1)
2236
Debug.Assert(parent.Kind() == SyntaxKind.
VariableDeclaration
);
Parser\LanguageParser.cs (2)
5178
if (parent != null && (parent.Kind() == SyntaxKind.
VariableDeclaration
|| parent.Kind() == SyntaxKind.LocalDeclarationStatement))
5198
&& (oldKind = GetOldParent(old).Kind()) != SyntaxKind.
VariableDeclaration
// or in a method body
Syntax\SyntaxFacts.cs (2)
128
case
VariableDeclaration
:
353
if (current == null || !current.IsKind(
VariableDeclaration
)) return false;
Syntax\SyntaxNodeExtensions.cs (1)
175
variableDeclarator.Parent.IsKind(SyntaxKind.
VariableDeclaration
);
Microsoft.CodeAnalysis.CSharp.CodeStyle (9)
src\Analyzers\CSharp\Analyzers\UseDeconstruction\CSharpUseDeconstructionDiagnosticAnalyzer.cs (1)
39
SyntaxKind.
VariableDeclaration
, SyntaxKind.ForEachStatement);
src\Analyzers\CSharp\Analyzers\UseImplicitOrExplicitType\CSharpTypeStyleDiagnosticAnalyzerBase.cs (1)
30
HandleVariableDeclaration, SyntaxKind.
VariableDeclaration
, SyntaxKind.ForEachStatement, SyntaxKind.DeclarationExpression);
src\Analyzers\CSharp\Analyzers\UsePatternMatching\CSharpAsAndNullCheckDiagnosticAnalyzer.Analyzer.cs (1)
137
case SyntaxKind.
VariableDeclaration
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SemanticModelExtensions.cs (2)
236
type.Parent.Parent.Parent.IsParentKind(SyntaxKind.
VariableDeclaration
, out variableDeclaration) &&
297
if (type.IsParentKind(SyntaxKind.
VariableDeclaration
, out variableDeclaration) &&
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpAccessibilityFacts.cs (2)
48
case SyntaxKind.
VariableDeclaration
:
239
case SyntaxKind.
VariableDeclaration
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\TypeStyle\CSharpTypeStyleHelper.cs (2)
62
if (typeName?.FirstAncestorOrSelf<SyntaxNode>(a => a.Kind() is SyntaxKind.DeclarationExpression or SyntaxKind.
VariableDeclaration
or SyntaxKind.ForEachStatement) is not { } declaration)
84
Debug.Assert(node.Kind() is SyntaxKind.
VariableDeclaration
or SyntaxKind.ForEachStatement or SyntaxKind.DeclarationExpression);
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (4)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpCodeGenerationService.cs (1)
886
case SyntaxKind.
VariableDeclaration
:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (3)
1800
if (parent.IsParentKind(SyntaxKind.
VariableDeclaration
) &&
2078
equalsValue.Parent.IsParentKind(SyntaxKind.
VariableDeclaration
))
2347
if (type.IsParentKind(SyntaxKind.
VariableDeclaration
) &&
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Diagnostics\DiagnosticAnalyzerTests.cs (1)
2244
var syntaxKinds = ImmutableArray.Create(SyntaxKind.
VariableDeclaration
);
Microsoft.CodeAnalysis.CSharp.Features (15)
CodeLens\CSharpCodeLensDisplayInfoService.cs (1)
53
case SyntaxKind.
VariableDeclaration
:
CodeRefactorings\UseExplicitOrImplicitType\AbstractUseTypeCodeRefactoringProvider.cs (1)
41
Debug.Assert(declaration.Kind() is SyntaxKind.
VariableDeclaration
or SyntaxKind.ForEachStatement or SyntaxKind.DeclarationExpression);
ConvertLinq\CSharpConvertLinqQueryToForEachProvider.cs (1)
463
SyntaxKind.
VariableDeclaration
or
EditAndContinue\BreakpointSpans.cs (1)
266
case SyntaxKind.
VariableDeclaration
:
EditAndContinue\CSharpEditAndContinueAnalyzer.cs (5)
136
Debug.Assert(current.Parent.IsKind(SyntaxKind.
VariableDeclaration
));
256
case SyntaxKind.
VariableDeclaration
:
1667
case SyntaxKind.
VariableDeclaration
:
2045
case SyntaxKind.
VariableDeclaration
:
2791
case SyntaxKind.
VariableDeclaration
:
EditAndContinue\SyntaxComparer.cs (3)
545
case SyntaxKind.
VariableDeclaration
:
658
case SyntaxKind.
VariableDeclaration
:
1440
case SyntaxKind.
VariableDeclaration
:
src\Analyzers\CSharp\Analyzers\UseDeconstruction\CSharpUseDeconstructionDiagnosticAnalyzer.cs (1)
39
SyntaxKind.
VariableDeclaration
, SyntaxKind.ForEachStatement);
src\Analyzers\CSharp\Analyzers\UseImplicitOrExplicitType\CSharpTypeStyleDiagnosticAnalyzerBase.cs (1)
30
HandleVariableDeclaration, SyntaxKind.
VariableDeclaration
, SyntaxKind.ForEachStatement, SyntaxKind.DeclarationExpression);
src\Analyzers\CSharp\Analyzers\UsePatternMatching\CSharpAsAndNullCheckDiagnosticAnalyzer.Analyzer.cs (1)
137
case SyntaxKind.
VariableDeclaration
:
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Semantics\AccessibilityTests.cs (1)
35
s_testPosition = t.FindNodeOrTokenByKind(SyntaxKind.
VariableDeclaration
).SpanStart;
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (687)
IncrementalParsing\IncrementalParsingTests.cs (1)
447
SyntaxKind.
VariableDeclaration
,
Parsing\AnonymousFunctionParsingTests.cs (33)
71
N(SyntaxKind.
VariableDeclaration
);
172
N(SyntaxKind.
VariableDeclaration
);
269
N(SyntaxKind.
VariableDeclaration
);
370
N(SyntaxKind.
VariableDeclaration
);
471
N(SyntaxKind.
VariableDeclaration
);
575
N(SyntaxKind.
VariableDeclaration
);
706
N(SyntaxKind.
VariableDeclaration
);
824
N(SyntaxKind.
VariableDeclaration
);
1929
N(SyntaxKind.
VariableDeclaration
);
2058
N(SyntaxKind.
VariableDeclaration
);
2136
N(SyntaxKind.
VariableDeclaration
);
2222
N(SyntaxKind.
VariableDeclaration
);
2515
N(SyntaxKind.
VariableDeclaration
);
2663
N(SyntaxKind.
VariableDeclaration
);
2811
N(SyntaxKind.
VariableDeclaration
);
2937
N(SyntaxKind.
VariableDeclaration
);
3073
N(SyntaxKind.
VariableDeclaration
);
3196
N(SyntaxKind.
VariableDeclaration
);
3336
N(SyntaxKind.
VariableDeclaration
);
3489
N(SyntaxKind.
VariableDeclaration
);
3642
N(SyntaxKind.
VariableDeclaration
);
3761
N(SyntaxKind.
VariableDeclaration
);
3791
N(SyntaxKind.
VariableDeclaration
);
3906
N(SyntaxKind.
VariableDeclaration
);
3936
N(SyntaxKind.
VariableDeclaration
);
4038
N(SyntaxKind.
VariableDeclaration
);
4068
N(SyntaxKind.
VariableDeclaration
);
4187
N(SyntaxKind.
VariableDeclaration
);
4217
N(SyntaxKind.
VariableDeclaration
);
4349
N(SyntaxKind.
VariableDeclaration
);
4379
N(SyntaxKind.
VariableDeclaration
);
4511
N(SyntaxKind.
VariableDeclaration
);
4541
N(SyntaxKind.
VariableDeclaration
);
Parsing\AsyncParsingTests.cs (9)
440
N(SyntaxKind.
VariableDeclaration
);
480
N(SyntaxKind.
VariableDeclaration
);
566
N(SyntaxKind.
VariableDeclaration
);
646
N(SyntaxKind.
VariableDeclaration
);
940
N(SyntaxKind.
VariableDeclaration
);
1078
N(SyntaxKind.
VariableDeclaration
);
1125
N(SyntaxKind.
VariableDeclaration
);
1171
N(SyntaxKind.
VariableDeclaration
);
1987
N(SyntaxKind.
VariableDeclaration
);
Parsing\AsyncStreamsParsingTests.cs (2)
74
N(SyntaxKind.
VariableDeclaration
);
231
N(SyntaxKind.
VariableDeclaration
);
Parsing\AwaitParsingTests.cs (13)
297
N(SyntaxKind.
VariableDeclaration
);
367
N(SyntaxKind.
VariableDeclaration
);
973
N(SyntaxKind.
VariableDeclaration
);
1033
N(SyntaxKind.
VariableDeclaration
);
1079
N(SyntaxKind.
VariableDeclaration
);
1369
N(SyntaxKind.
VariableDeclaration
);
1449
N(SyntaxKind.
VariableDeclaration
);
1528
N(SyntaxKind.
VariableDeclaration
);
1619
N(SyntaxKind.
VariableDeclaration
);
2415
N(SyntaxKind.
VariableDeclaration
);
2501
N(SyntaxKind.
VariableDeclaration
);
2548
N(SyntaxKind.
VariableDeclaration
);
2659
N(SyntaxKind.
VariableDeclaration
);
Parsing\CollectionExpressionParsingTests.cs (14)
290
N(SyntaxKind.
VariableDeclaration
);
555
N(SyntaxKind.
VariableDeclaration
);
3062
N(SyntaxKind.
VariableDeclaration
);
3155
N(SyntaxKind.
VariableDeclaration
);
5642
N(SyntaxKind.
VariableDeclaration
);
5703
N(SyntaxKind.
VariableDeclaration
);
7087
N(SyntaxKind.
VariableDeclaration
);
18112
N(SyntaxKind.
VariableDeclaration
);
18196
N(SyntaxKind.
VariableDeclaration
);
18257
N(SyntaxKind.
VariableDeclaration
);
18312
N(SyntaxKind.
VariableDeclaration
);
18372
N(SyntaxKind.
VariableDeclaration
);
18436
N(SyntaxKind.
VariableDeclaration
);
18513
N(SyntaxKind.
VariableDeclaration
);
Parsing\DeclarationExpressionTests.cs (2)
280
N(SyntaxKind.
VariableDeclaration
);
343
N(SyntaxKind.
VariableDeclaration
);
Parsing\DeclarationParsingTests.cs (3)
6328
N(SyntaxKind.
VariableDeclaration
);
8308
N(SyntaxKind.
VariableDeclaration
);
8620
N(SyntaxKind.
VariableDeclaration
);
Parsing\DeclarationScopeParsingTests.cs (155)
284
N(SyntaxKind.
VariableDeclaration
);
1452
N(SyntaxKind.
VariableDeclaration
);
1467
N(SyntaxKind.
VariableDeclaration
);
1486
N(SyntaxKind.
VariableDeclaration
);
1506
N(SyntaxKind.
VariableDeclaration
);
1582
N(SyntaxKind.
VariableDeclaration
);
1653
N(SyntaxKind.
VariableDeclaration
);
1672
N(SyntaxKind.
VariableDeclaration
);
1695
N(SyntaxKind.
VariableDeclaration
);
1782
N(SyntaxKind.
VariableDeclaration
);
1801
N(SyntaxKind.
VariableDeclaration
);
1816
N(SyntaxKind.
VariableDeclaration
);
1836
N(SyntaxKind.
VariableDeclaration
);
1876
N(SyntaxKind.
VariableDeclaration
);
1898
N(SyntaxKind.
VariableDeclaration
);
1956
N(SyntaxKind.
VariableDeclaration
);
1991
N(SyntaxKind.
VariableDeclaration
);
2043
N(SyntaxKind.
VariableDeclaration
);
2066
N(SyntaxKind.
VariableDeclaration
);
2111
N(SyntaxKind.
VariableDeclaration
);
2129
N(SyntaxKind.
VariableDeclaration
);
2218
N(SyntaxKind.
VariableDeclaration
);
2244
N(SyntaxKind.
VariableDeclaration
);
2274
N(SyntaxKind.
VariableDeclaration
);
2324
N(SyntaxKind.
VariableDeclaration
);
2350
N(SyntaxKind.
VariableDeclaration
);
2380
N(SyntaxKind.
VariableDeclaration
);
2430
N(SyntaxKind.
VariableDeclaration
);
2452
N(SyntaxKind.
VariableDeclaration
);
2478
N(SyntaxKind.
VariableDeclaration
);
2522
N(SyntaxKind.
VariableDeclaration
);
2577
N(SyntaxKind.
VariableDeclaration
);
2599
N(SyntaxKind.
VariableDeclaration
);
2640
N(SyntaxKind.
VariableDeclaration
);
2662
N(SyntaxKind.
VariableDeclaration
);
2709
N(SyntaxKind.
VariableDeclaration
);
2748
N(SyntaxKind.
VariableDeclaration
);
2800
N(SyntaxKind.
VariableDeclaration
);
2823
N(SyntaxKind.
VariableDeclaration
);
2868
N(SyntaxKind.
VariableDeclaration
);
2886
N(SyntaxKind.
VariableDeclaration
);
2941
N(SyntaxKind.
VariableDeclaration
);
2981
N(SyntaxKind.
VariableDeclaration
);
2999
N(SyntaxKind.
VariableDeclaration
);
3079
N(SyntaxKind.
VariableDeclaration
);
3128
N(SyntaxKind.
VariableDeclaration
);
3150
N(SyntaxKind.
VariableDeclaration
);
3217
N(SyntaxKind.
VariableDeclaration
);
3233
N(SyntaxKind.
VariableDeclaration
);
3320
N(SyntaxKind.
VariableDeclaration
);
3356
N(SyntaxKind.
VariableDeclaration
);
3681
N(SyntaxKind.
VariableDeclaration
);
3757
N(SyntaxKind.
VariableDeclaration
);
3912
N(SyntaxKind.
VariableDeclaration
);
3996
N(SyntaxKind.
VariableDeclaration
);
4136
N(SyntaxKind.
VariableDeclaration
);
4280
N(SyntaxKind.
VariableDeclaration
);
4429
N(SyntaxKind.
VariableDeclaration
);
5231
N(SyntaxKind.
VariableDeclaration
);
5304
N(SyntaxKind.
VariableDeclaration
);
6283
N(SyntaxKind.
VariableDeclaration
);
6370
N(SyntaxKind.
VariableDeclaration
);
6781
N(SyntaxKind.
VariableDeclaration
);
8376
N(SyntaxKind.
VariableDeclaration
);
8413
N(SyntaxKind.
VariableDeclaration
);
8461
N(SyntaxKind.
VariableDeclaration
);
8506
N(SyntaxKind.
VariableDeclaration
);
8547
N(SyntaxKind.
VariableDeclaration
);
8596
N(SyntaxKind.
VariableDeclaration
);
8645
N(SyntaxKind.
VariableDeclaration
);
8686
N(SyntaxKind.
VariableDeclaration
);
8777
N(SyntaxKind.
VariableDeclaration
);
8879
N(SyntaxKind.
VariableDeclaration
);
8996
N(SyntaxKind.
VariableDeclaration
);
9037
N(SyntaxKind.
VariableDeclaration
);
9082
N(SyntaxKind.
VariableDeclaration
);
9128
N(SyntaxKind.
VariableDeclaration
);
9173
N(SyntaxKind.
VariableDeclaration
);
9214
N(SyntaxKind.
VariableDeclaration
);
9263
N(SyntaxKind.
VariableDeclaration
);
9304
N(SyntaxKind.
VariableDeclaration
);
9350
N(SyntaxKind.
VariableDeclaration
);
9396
N(SyntaxKind.
VariableDeclaration
);
9433
N(SyntaxKind.
VariableDeclaration
);
9478
N(SyntaxKind.
VariableDeclaration
);
9519
N(SyntaxKind.
VariableDeclaration
);
9555
N(SyntaxKind.
VariableDeclaration
);
9607
N(SyntaxKind.
VariableDeclaration
);
9894
N(SyntaxKind.
VariableDeclaration
);
9968
N(SyntaxKind.
VariableDeclaration
);
10280
N(SyntaxKind.
VariableDeclaration
);
11147
N(SyntaxKind.
VariableDeclaration
);
11251
N(SyntaxKind.
VariableDeclaration
);
11649
N(SyntaxKind.
VariableDeclaration
);
11705
N(SyntaxKind.
VariableDeclaration
);
11761
N(SyntaxKind.
VariableDeclaration
);
11780
N(SyntaxKind.
VariableDeclaration
);
11820
N(SyntaxKind.
VariableDeclaration
);
11864
N(SyntaxKind.
VariableDeclaration
);
11922
N(SyntaxKind.
VariableDeclaration
);
11942
N(SyntaxKind.
VariableDeclaration
);
11966
N(SyntaxKind.
VariableDeclaration
);
12007
N(SyntaxKind.
VariableDeclaration
);
12052
N(SyntaxKind.
VariableDeclaration
);
12103
N(SyntaxKind.
VariableDeclaration
);
12148
N(SyntaxKind.
VariableDeclaration
);
12194
N(SyntaxKind.
VariableDeclaration
);
12236
N(SyntaxKind.
VariableDeclaration
);
12302
N(SyntaxKind.
VariableDeclaration
);
12351
N(SyntaxKind.
VariableDeclaration
);
12408
N(SyntaxKind.
VariableDeclaration
);
12482
N(SyntaxKind.
VariableDeclaration
);
12549
N(SyntaxKind.
VariableDeclaration
);
12588
N(SyntaxKind.
VariableDeclaration
);
12647
N(SyntaxKind.
VariableDeclaration
);
12686
N(SyntaxKind.
VariableDeclaration
);
12749
N(SyntaxKind.
VariableDeclaration
);
12792
N(SyntaxKind.
VariableDeclaration
);
12856
N(SyntaxKind.
VariableDeclaration
);
12900
N(SyntaxKind.
VariableDeclaration
);
12946
N(SyntaxKind.
VariableDeclaration
);
12996
N(SyntaxKind.
VariableDeclaration
);
13047
N(SyntaxKind.
VariableDeclaration
);
13097
N(SyntaxKind.
VariableDeclaration
);
13143
N(SyntaxKind.
VariableDeclaration
);
13197
N(SyntaxKind.
VariableDeclaration
);
13243
N(SyntaxKind.
VariableDeclaration
);
13293
N(SyntaxKind.
VariableDeclaration
);
13344
N(SyntaxKind.
VariableDeclaration
);
13386
N(SyntaxKind.
VariableDeclaration
);
13438
N(SyntaxKind.
VariableDeclaration
);
13452
N(SyntaxKind.
VariableDeclaration
);
13501
N(SyntaxKind.
VariableDeclaration
);
13563
N(SyntaxKind.
VariableDeclaration
);
13626
N(SyntaxKind.
VariableDeclaration
);
13641
N(SyntaxKind.
VariableDeclaration
);
13696
N(SyntaxKind.
VariableDeclaration
);
13711
N(SyntaxKind.
VariableDeclaration
);
13782
N(SyntaxKind.
VariableDeclaration
);
13895
N(SyntaxKind.
VariableDeclaration
);
14001
N(SyntaxKind.
VariableDeclaration
);
14065
N(SyntaxKind.
VariableDeclaration
);
14121
N(SyntaxKind.
VariableDeclaration
);
14194
N(SyntaxKind.
VariableDeclaration
);
14250
N(SyntaxKind.
VariableDeclaration
);
14314
N(SyntaxKind.
VariableDeclaration
);
14337
N(SyntaxKind.
VariableDeclaration
);
14397
N(SyntaxKind.
VariableDeclaration
);
14465
N(SyntaxKind.
VariableDeclaration
);
14533
N(SyntaxKind.
VariableDeclaration
);
14581
N(SyntaxKind.
VariableDeclaration
);
14628
N(SyntaxKind.
VariableDeclaration
);
14675
N(SyntaxKind.
VariableDeclaration
);
14829
N(SyntaxKind.
VariableDeclaration
);
14915
N(SyntaxKind.
VariableDeclaration
);
Parsing\DeconstructionTests.cs (4)
147
N(SyntaxKind.
VariableDeclaration
);
225
N(SyntaxKind.
VariableDeclaration
);
301
N(SyntaxKind.
VariableDeclaration
);
550
N(SyntaxKind.
VariableDeclaration
);
Parsing\ExpressionParsingTests.cs (12)
3080
N(SyntaxKind.
VariableDeclaration
);
3287
N(SyntaxKind.
VariableDeclaration
);
3377
N(SyntaxKind.
VariableDeclaration
);
3451
N(SyntaxKind.
VariableDeclaration
);
3533
N(SyntaxKind.
VariableDeclaration
);
3861
N(SyntaxKind.
VariableDeclaration
);
4129
N(SyntaxKind.
VariableDeclaration
);
4223
N(SyntaxKind.
VariableDeclaration
);
4320
N(SyntaxKind.
VariableDeclaration
);
4425
N(SyntaxKind.
VariableDeclaration
);
4710
N(SyntaxKind.
VariableDeclaration
);
6349
N(SyntaxKind.
VariableDeclaration
);
Parsing\FileModifierParsingTests.cs (36)
155
N(SyntaxKind.
VariableDeclaration
);
298
N(SyntaxKind.
VariableDeclaration
);
361
N(SyntaxKind.
VariableDeclaration
);
424
N(SyntaxKind.
VariableDeclaration
);
871
N(SyntaxKind.
VariableDeclaration
);
923
N(SyntaxKind.
VariableDeclaration
);
1074
N(SyntaxKind.
VariableDeclaration
);
1170
N(SyntaxKind.
VariableDeclaration
);
1288
N(SyntaxKind.
VariableDeclaration
);
1375
N(SyntaxKind.
VariableDeclaration
);
1580
N(SyntaxKind.
VariableDeclaration
);
1605
N(SyntaxKind.
VariableDeclaration
);
1621
N(SyntaxKind.
VariableDeclaration
);
1649
N(SyntaxKind.
VariableDeclaration
);
1669
N(SyntaxKind.
VariableDeclaration
);
1689
N(SyntaxKind.
VariableDeclaration
);
1726
N(SyntaxKind.
VariableDeclaration
);
1844
N(SyntaxKind.
VariableDeclaration
);
1879
N(SyntaxKind.
VariableDeclaration
);
1908
N(SyntaxKind.
VariableDeclaration
);
1929
N(SyntaxKind.
VariableDeclaration
);
1949
N(SyntaxKind.
VariableDeclaration
);
1986
N(SyntaxKind.
VariableDeclaration
);
2057
N(SyntaxKind.
VariableDeclaration
);
2110
N(SyntaxKind.
VariableDeclaration
);
2236
N(SyntaxKind.
VariableDeclaration
);
2301
N(SyntaxKind.
VariableDeclaration
);
2364
N(SyntaxKind.
VariableDeclaration
);
2427
N(SyntaxKind.
VariableDeclaration
);
2929
N(SyntaxKind.
VariableDeclaration
);
3054
N(SyntaxKind.
VariableDeclaration
);
3115
N(SyntaxKind.
VariableDeclaration
);
3162
N(SyntaxKind.
VariableDeclaration
);
3202
N(SyntaxKind.
VariableDeclaration
);
3244
N(SyntaxKind.
VariableDeclaration
);
3323
N(SyntaxKind.
VariableDeclaration
);
Parsing\ForStatementParsingTest.cs (7)
22
N(SyntaxKind.
VariableDeclaration
);
97
N(SyntaxKind.
VariableDeclaration
);
162
N(SyntaxKind.
VariableDeclaration
);
230
N(SyntaxKind.
VariableDeclaration
);
284
N(SyntaxKind.
VariableDeclaration
);
323
N(SyntaxKind.
VariableDeclaration
);
393
N(SyntaxKind.
VariableDeclaration
);
Parsing\FunctionPointerTests.cs (54)
23
N(SyntaxKind.
VariableDeclaration
);
79
N(SyntaxKind.
VariableDeclaration
);
151
N(SyntaxKind.
VariableDeclaration
);
201
N(SyntaxKind.
VariableDeclaration
);
244
N(SyntaxKind.
VariableDeclaration
);
296
N(SyntaxKind.
VariableDeclaration
);
347
N(SyntaxKind.
VariableDeclaration
);
390
N(SyntaxKind.
VariableDeclaration
);
438
N(SyntaxKind.
VariableDeclaration
);
536
N(SyntaxKind.
VariableDeclaration
);
601
N(SyntaxKind.
VariableDeclaration
);
652
N(SyntaxKind.
VariableDeclaration
);
758
N(SyntaxKind.
VariableDeclaration
);
805
N(SyntaxKind.
VariableDeclaration
);
882
N(SyntaxKind.
VariableDeclaration
);
926
N(SyntaxKind.
VariableDeclaration
);
968
N(SyntaxKind.
VariableDeclaration
);
1013
N(SyntaxKind.
VariableDeclaration
);
1063
N(SyntaxKind.
VariableDeclaration
);
1117
N(SyntaxKind.
VariableDeclaration
);
1168
N(SyntaxKind.
VariableDeclaration
);
1222
N(SyntaxKind.
VariableDeclaration
);
1348
N(SyntaxKind.
VariableDeclaration
);
1392
N(SyntaxKind.
VariableDeclaration
);
1440
N(SyntaxKind.
VariableDeclaration
);
1498
N(SyntaxKind.
VariableDeclaration
);
1562
N(SyntaxKind.
VariableDeclaration
);
1618
N(SyntaxKind.
VariableDeclaration
);
1665
N(SyntaxKind.
VariableDeclaration
);
2161
N(SyntaxKind.
VariableDeclaration
);
2376
N(SyntaxKind.
VariableDeclaration
);
2435
N(SyntaxKind.
VariableDeclaration
);
2786
N(SyntaxKind.
VariableDeclaration
);
2843
N(SyntaxKind.
VariableDeclaration
);
2896
N(SyntaxKind.
VariableDeclaration
);
2991
N(SyntaxKind.
VariableDeclaration
);
3077
N(SyntaxKind.
VariableDeclaration
);
3137
N(SyntaxKind.
VariableDeclaration
);
3181
N(SyntaxKind.
VariableDeclaration
);
3232
N(SyntaxKind.
VariableDeclaration
);
3274
N(SyntaxKind.
VariableDeclaration
);
3313
N(SyntaxKind.
VariableDeclaration
);
3379
N(SyntaxKind.
VariableDeclaration
);
3452
N(SyntaxKind.
VariableDeclaration
);
3532
N(SyntaxKind.
VariableDeclaration
);
3604
N(SyntaxKind.
VariableDeclaration
);
3662
N(SyntaxKind.
VariableDeclaration
);
3706
N(SyntaxKind.
VariableDeclaration
);
3763
N(SyntaxKind.
VariableDeclaration
);
3823
N(SyntaxKind.
VariableDeclaration
);
3904
N(SyntaxKind.
VariableDeclaration
);
3992
N(SyntaxKind.
VariableDeclaration
);
4020
N(SyntaxKind.
VariableDeclaration
);
4076
N(SyntaxKind.
VariableDeclaration
);
Parsing\LambdaAttributeParsingTests.cs (7)
3808
N(SyntaxKind.
VariableDeclaration
);
3939
N(SyntaxKind.
VariableDeclaration
);
4052
N(SyntaxKind.
VariableDeclaration
);
4169
N(SyntaxKind.
VariableDeclaration
);
4206
N(SyntaxKind.
VariableDeclaration
);
4318
N(SyntaxKind.
VariableDeclaration
);
4452
N(SyntaxKind.
VariableDeclaration
);
Parsing\LambdaParameterParsingTests.cs (47)
75
N(SyntaxKind.
VariableDeclaration
);
186
N(SyntaxKind.
VariableDeclaration
);
305
N(SyntaxKind.
VariableDeclaration
);
355
N(SyntaxKind.
VariableDeclaration
);
431
N(SyntaxKind.
VariableDeclaration
);
481
N(SyntaxKind.
VariableDeclaration
);
560
N(SyntaxKind.
VariableDeclaration
);
610
N(SyntaxKind.
VariableDeclaration
);
780
N(SyntaxKind.
VariableDeclaration
);
836
N(SyntaxKind.
VariableDeclaration
);
913
N(SyntaxKind.
VariableDeclaration
);
974
N(SyntaxKind.
VariableDeclaration
);
1048
N(SyntaxKind.
VariableDeclaration
);
1113
N(SyntaxKind.
VariableDeclaration
);
1188
N(SyntaxKind.
VariableDeclaration
);
1254
N(SyntaxKind.
VariableDeclaration
);
1310
N(SyntaxKind.
VariableDeclaration
);
1371
N(SyntaxKind.
VariableDeclaration
);
1435
N(SyntaxKind.
VariableDeclaration
);
1499
N(SyntaxKind.
VariableDeclaration
);
1562
N(SyntaxKind.
VariableDeclaration
);
1612
N(SyntaxKind.
VariableDeclaration
);
1663
N(SyntaxKind.
VariableDeclaration
);
1731
N(SyntaxKind.
VariableDeclaration
);
1799
N(SyntaxKind.
VariableDeclaration
);
1855
N(SyntaxKind.
VariableDeclaration
);
1923
N(SyntaxKind.
VariableDeclaration
);
1981
N(SyntaxKind.
VariableDeclaration
);
2055
N(SyntaxKind.
VariableDeclaration
);
2149
N(SyntaxKind.
VariableDeclaration
);
2213
N(SyntaxKind.
VariableDeclaration
);
2273
N(SyntaxKind.
VariableDeclaration
);
2303
N(SyntaxKind.
VariableDeclaration
);
2418
N(SyntaxKind.
VariableDeclaration
);
2489
N(SyntaxKind.
VariableDeclaration
);
2559
N(SyntaxKind.
VariableDeclaration
);
4332
N(SyntaxKind.
VariableDeclaration
);
4396
N(SyntaxKind.
VariableDeclaration
);
4465
N(SyntaxKind.
VariableDeclaration
);
4551
N(SyntaxKind.
VariableDeclaration
);
4610
N(SyntaxKind.
VariableDeclaration
);
4759
N(SyntaxKind.
VariableDeclaration
);
4815
N(SyntaxKind.
VariableDeclaration
);
4876
N(SyntaxKind.
VariableDeclaration
);
4954
N(SyntaxKind.
VariableDeclaration
);
5013
N(SyntaxKind.
VariableDeclaration
);
5485
N(SyntaxKind.
VariableDeclaration
);
Parsing\LambdaReturnTypeParsingTests.cs (6)
2666
N(SyntaxKind.
VariableDeclaration
);
2720
N(SyntaxKind.
VariableDeclaration
);
2773
N(SyntaxKind.
VariableDeclaration
);
2834
N(SyntaxKind.
VariableDeclaration
);
5063
N(SyntaxKind.
VariableDeclaration
);
5276
N(SyntaxKind.
VariableDeclaration
);
Parsing\LocalFunctionParsingTests.cs (10)
596
N(SyntaxKind.
VariableDeclaration
);
888
N(SyntaxKind.
VariableDeclaration
);
954
N(SyntaxKind.
VariableDeclaration
);
1034
N(SyntaxKind.
VariableDeclaration
);
2604
N(SyntaxKind.
VariableDeclaration
);
2694
N(SyntaxKind.
VariableDeclaration
);
2928
N(SyntaxKind.
VariableDeclaration
);
3009
N(SyntaxKind.
VariableDeclaration
);
3055
N(SyntaxKind.
VariableDeclaration
);
3116
N(SyntaxKind.
VariableDeclaration
);
Parsing\MemberDeclarationParsingTests.cs (37)
206
N(SyntaxKind.
VariableDeclaration
);
737
N(SyntaxKind.
VariableDeclaration
);
756
N(SyntaxKind.
VariableDeclaration
);
1375
N(SyntaxKind.
VariableDeclaration
);
1398
N(SyntaxKind.
VariableDeclaration
);
1443
N(SyntaxKind.
VariableDeclaration
);
1777
N(SyntaxKind.
VariableDeclaration
);
1901
N(SyntaxKind.
VariableDeclaration
);
1916
N(SyntaxKind.
VariableDeclaration
);
1943
N(SyntaxKind.
VariableDeclaration
);
1962
N(SyntaxKind.
VariableDeclaration
);
1981
N(SyntaxKind.
VariableDeclaration
);
2017
N(SyntaxKind.
VariableDeclaration
);
2113
N(SyntaxKind.
VariableDeclaration
);
2141
N(SyntaxKind.
VariableDeclaration
);
2161
N(SyntaxKind.
VariableDeclaration
);
2180
N(SyntaxKind.
VariableDeclaration
);
2216
N(SyntaxKind.
VariableDeclaration
);
2275
N(SyntaxKind.
VariableDeclaration
);
8650
N(SyntaxKind.
VariableDeclaration
);
10905
N(SyntaxKind.
VariableDeclaration
);
10990
N(SyntaxKind.
VariableDeclaration
);
11080
N(SyntaxKind.
VariableDeclaration
);
11164
N(SyntaxKind.
VariableDeclaration
);
11254
N(SyntaxKind.
VariableDeclaration
);
11741
N(SyntaxKind.
VariableDeclaration
);
11762
N(SyntaxKind.
VariableDeclaration
);
15987
N(SyntaxKind.
VariableDeclaration
);
16084
N(SyntaxKind.
VariableDeclaration
);
16523
N(SyntaxKind.
VariableDeclaration
);
16635
N(SyntaxKind.
VariableDeclaration
);
17435
N(SyntaxKind.
VariableDeclaration
);
17497
N(SyntaxKind.
VariableDeclaration
);
17571
N(SyntaxKind.
VariableDeclaration
);
17652
N(SyntaxKind.
VariableDeclaration
);
17714
N(SyntaxKind.
VariableDeclaration
);
17788
N(SyntaxKind.
VariableDeclaration
);
Parsing\NullableParsingTests.cs (3)
55
N(SyntaxKind.
VariableDeclaration
);
1094
N(SyntaxKind.
VariableDeclaration
);
1166
N(SyntaxKind.
VariableDeclaration
);
Parsing\ParserRegressionTests.cs (5)
289
N(SyntaxKind.
VariableDeclaration
);
382
N(SyntaxKind.
VariableDeclaration
);
427
N(SyntaxKind.
VariableDeclaration
);
516
N(SyntaxKind.
VariableDeclaration
);
784
N(SyntaxKind.
VariableDeclaration
);
Parsing\ParsingErrorRecoveryTests.cs (9)
5218
N(SyntaxKind.
VariableDeclaration
);
5263
N(SyntaxKind.
VariableDeclaration
);
5330
N(SyntaxKind.
VariableDeclaration
);
5413
N(SyntaxKind.
VariableDeclaration
);
5477
N(SyntaxKind.
VariableDeclaration
);
5590
N(SyntaxKind.
VariableDeclaration
);
5654
N(SyntaxKind.
VariableDeclaration
);
5727
N(SyntaxKind.
VariableDeclaration
);
5781
N(SyntaxKind.
VariableDeclaration
);
Parsing\PatternParsingTests.cs (18)
186
N(SyntaxKind.
VariableDeclaration
);
334
N(SyntaxKind.
VariableDeclaration
);
451
N(SyntaxKind.
VariableDeclaration
);
508
N(SyntaxKind.
VariableDeclaration
);
2780
N(SyntaxKind.
VariableDeclaration
);
4340
N(SyntaxKind.
VariableDeclaration
);
4450
N(SyntaxKind.
VariableDeclaration
);
4556
N(SyntaxKind.
VariableDeclaration
);
4624
N(SyntaxKind.
VariableDeclaration
);
4688
N(SyntaxKind.
VariableDeclaration
);
4775
N(SyntaxKind.
VariableDeclaration
);
4858
N(SyntaxKind.
VariableDeclaration
);
4903
N(SyntaxKind.
VariableDeclaration
);
5009
N(SyntaxKind.
VariableDeclaration
);
5111
N(SyntaxKind.
VariableDeclaration
);
5175
N(SyntaxKind.
VariableDeclaration
);
5235
N(SyntaxKind.
VariableDeclaration
);
5318
N(SyntaxKind.
VariableDeclaration
);
Parsing\RecordParsing.cs (14)
47
N(SyntaxKind.
VariableDeclaration
);
240
N(SyntaxKind.
VariableDeclaration
);
286
N(SyntaxKind.
VariableDeclaration
);
1294
N(SyntaxKind.
VariableDeclaration
);
1327
N(SyntaxKind.
VariableDeclaration
);
1399
N(SyntaxKind.
VariableDeclaration
);
1720
N(SyntaxKind.
VariableDeclaration
);
1759
N(SyntaxKind.
VariableDeclaration
);
1935
N(SyntaxKind.
VariableDeclaration
);
2774
N(SyntaxKind.
VariableDeclaration
);
2969
N(SyntaxKind.
VariableDeclaration
);
3895
N(SyntaxKind.
VariableDeclaration
);
3961
N(SyntaxKind.
VariableDeclaration
);
4013
N(SyntaxKind.
VariableDeclaration
);
Parsing\RefFieldParsingTests.cs (12)
33
N(SyntaxKind.
VariableDeclaration
);
70
N(SyntaxKind.
VariableDeclaration
);
111
N(SyntaxKind.
VariableDeclaration
);
147
N(SyntaxKind.
VariableDeclaration
);
181
N(SyntaxKind.
VariableDeclaration
);
239
N(SyntaxKind.
VariableDeclaration
);
365
N(SyntaxKind.
VariableDeclaration
);
414
N(SyntaxKind.
VariableDeclaration
);
477
N(SyntaxKind.
VariableDeclaration
);
509
N(SyntaxKind.
VariableDeclaration
);
577
N(SyntaxKind.
VariableDeclaration
);
617
N(SyntaxKind.
VariableDeclaration
);
Parsing\ScriptParsingTests.cs (28)
197
N(SyntaxKind.
VariableDeclaration
);
239
N(SyntaxKind.
VariableDeclaration
);
255
N(SyntaxKind.
VariableDeclaration
);
981
N(SyntaxKind.
VariableDeclaration
);
1164
N(SyntaxKind.
VariableDeclaration
);
1235
N(SyntaxKind.
VariableDeclaration
);
1343
N(SyntaxKind.
VariableDeclaration
);
1377
N(SyntaxKind.
VariableDeclaration
);
2029
N(SyntaxKind.
VariableDeclaration
);
2044
N(SyntaxKind.
VariableDeclaration
);
2368
N(SyntaxKind.
VariableDeclaration
);
2488
N(SyntaxKind.
VariableDeclaration
);
2504
N(SyntaxKind.
VariableDeclaration
);
2520
N(SyntaxKind.
VariableDeclaration
);
2536
N(SyntaxKind.
VariableDeclaration
);
2552
N(SyntaxKind.
VariableDeclaration
);
2817
N(SyntaxKind.
VariableDeclaration
);
2847
N(SyntaxKind.
VariableDeclaration
);
2890
N(SyntaxKind.
VariableDeclaration
);
2936
N(SyntaxKind.
VariableDeclaration
);
2993
N(SyntaxKind.
VariableDeclaration
);
3034
N(SyntaxKind.
VariableDeclaration
);
8049
N(SyntaxKind.
VariableDeclaration
);
8391
N(SyntaxKind.
VariableDeclaration
);
8423
N(SyntaxKind.
VariableDeclaration
);
8455
N(SyntaxKind.
VariableDeclaration
);
8487
N(SyntaxKind.
VariableDeclaration
);
8531
N(SyntaxKind.
VariableDeclaration
);
Parsing\SeparatedSyntaxListParsingTests.cs (20)
70
N(SyntaxKind.
VariableDeclaration
);
94
N(SyntaxKind.
VariableDeclaration
);
118
N(SyntaxKind.
VariableDeclaration
);
147
N(SyntaxKind.
VariableDeclaration
);
176
N(SyntaxKind.
VariableDeclaration
);
210
N(SyntaxKind.
VariableDeclaration
);
239
N(SyntaxKind.
VariableDeclaration
);
268
N(SyntaxKind.
VariableDeclaration
);
452
N(SyntaxKind.
VariableDeclaration
);
485
N(SyntaxKind.
VariableDeclaration
);
518
N(SyntaxKind.
VariableDeclaration
);
575
N(SyntaxKind.
VariableDeclaration
);
808
N(SyntaxKind.
VariableDeclaration
);
847
N(SyntaxKind.
VariableDeclaration
);
886
N(SyntaxKind.
VariableDeclaration
);
930
N(SyntaxKind.
VariableDeclaration
);
974
N(SyntaxKind.
VariableDeclaration
);
1023
N(SyntaxKind.
VariableDeclaration
);
1067
N(SyntaxKind.
VariableDeclaration
);
1111
N(SyntaxKind.
VariableDeclaration
);
Parsing\SingleLineDeclarationParsingTests.cs (1)
839
N(SyntaxKind.
VariableDeclaration
);
Parsing\StatementAttributeParsingTests.cs (14)
1642
N(SyntaxKind.
VariableDeclaration
);
2022
N(SyntaxKind.
VariableDeclaration
);
4222
N(SyntaxKind.
VariableDeclaration
);
6415
N(SyntaxKind.
VariableDeclaration
);
6494
N(SyntaxKind.
VariableDeclaration
);
6581
N(SyntaxKind.
VariableDeclaration
);
6686
N(SyntaxKind.
VariableDeclaration
);
6826
N(SyntaxKind.
VariableDeclaration
);
6912
N(SyntaxKind.
VariableDeclaration
);
6995
N(SyntaxKind.
VariableDeclaration
);
7089
N(SyntaxKind.
VariableDeclaration
);
7196
N(SyntaxKind.
VariableDeclaration
);
7298
N(SyntaxKind.
VariableDeclaration
);
7407
N(SyntaxKind.
VariableDeclaration
);
Parsing\StatementParsingTests.cs (24)
881
Assert.Equal(SyntaxKind.
VariableDeclaration
, fs.Declaration.Kind());
908
Assert.Equal(SyntaxKind.
VariableDeclaration
, fs.Declaration.Kind());
938
Assert.Equal(SyntaxKind.
VariableDeclaration
, fs.Declaration.Kind());
1672
N(SyntaxKind.
VariableDeclaration
);
2425
N(SyntaxKind.
VariableDeclaration
);
2531
N(SyntaxKind.
VariableDeclaration
);
2562
N(SyntaxKind.
VariableDeclaration
);
2593
N(SyntaxKind.
VariableDeclaration
);
2656
N(SyntaxKind.
VariableDeclaration
);
2723
N(SyntaxKind.
VariableDeclaration
);
2877
N(SyntaxKind.
VariableDeclaration
);
2960
N(SyntaxKind.
VariableDeclaration
);
3043
N(SyntaxKind.
VariableDeclaration
);
3115
N(SyntaxKind.
VariableDeclaration
);
3146
N(SyntaxKind.
VariableDeclaration
);
3184
N(SyntaxKind.
VariableDeclaration
);
3223
N(SyntaxKind.
VariableDeclaration
);
3261
N(SyntaxKind.
VariableDeclaration
);
3299
N(SyntaxKind.
VariableDeclaration
);
4185
N(SyntaxKind.
VariableDeclaration
);
4223
N(SyntaxKind.
VariableDeclaration
);
4475
N(SyntaxKind.
VariableDeclaration
);
5849
N(SyntaxKind.
VariableDeclaration
);
5943
N(SyntaxKind.
VariableDeclaration
);
Parsing\SuppressNullableWarningExpressionParsingTests.cs (1)
44
N(SyntaxKind.
VariableDeclaration
);
Parsing\SwitchExpressionParsingTests.cs (3)
326
N(SyntaxKind.
VariableDeclaration
);
2577
N(SyntaxKind.
VariableDeclaration
);
2670
N(SyntaxKind.
VariableDeclaration
);
Parsing\TopLevelStatementsParsingTests.cs (32)
143
N(SyntaxKind.
VariableDeclaration
);
168
N(SyntaxKind.
VariableDeclaration
);
377
N(SyntaxKind.
VariableDeclaration
);
420
N(SyntaxKind.
VariableDeclaration
);
831
N(SyntaxKind.
VariableDeclaration
);
946
N(SyntaxKind.
VariableDeclaration
);
1115
N(SyntaxKind.
VariableDeclaration
);
1170
N(SyntaxKind.
VariableDeclaration
);
1502
N(SyntaxKind.
VariableDeclaration
);
1728
N(SyntaxKind.
VariableDeclaration
);
1835
N(SyntaxKind.
VariableDeclaration
);
1890
N(SyntaxKind.
VariableDeclaration
);
1934
M(SyntaxKind.
VariableDeclaration
);
1981
M(SyntaxKind.
VariableDeclaration
);
2021
N(SyntaxKind.
VariableDeclaration
);
2069
M(SyntaxKind.
VariableDeclaration
);
2253
N(SyntaxKind.
VariableDeclaration
);
2271
N(SyntaxKind.
VariableDeclaration
);
2328
N(SyntaxKind.
VariableDeclaration
);
2388
N(SyntaxKind.
VariableDeclaration
);
2502
M(SyntaxKind.
VariableDeclaration
);
2732
N(SyntaxKind.
VariableDeclaration
);
2800
N(SyntaxKind.
VariableDeclaration
);
2842
N(SyntaxKind.
VariableDeclaration
);
3080
N(SyntaxKind.
VariableDeclaration
);
3232
N(SyntaxKind.
VariableDeclaration
);
3394
N(SyntaxKind.
VariableDeclaration
);
3413
N(SyntaxKind.
VariableDeclaration
);
3463
N(SyntaxKind.
VariableDeclaration
);
3482
N(SyntaxKind.
VariableDeclaration
);
3525
N(SyntaxKind.
VariableDeclaration
);
3583
M(SyntaxKind.
VariableDeclaration
);
Parsing\TypeArgumentListParsingTests.cs (31)
61
N(SyntaxKind.
VariableDeclaration
);
177
N(SyntaxKind.
VariableDeclaration
);
305
N(SyntaxKind.
VariableDeclaration
);
438
N(SyntaxKind.
VariableDeclaration
);
586
N(SyntaxKind.
VariableDeclaration
);
733
N(SyntaxKind.
VariableDeclaration
);
765
N(SyntaxKind.
VariableDeclaration
);
801
N(SyntaxKind.
VariableDeclaration
);
1046
N(SyntaxKind.
VariableDeclaration
);
1185
N(SyntaxKind.
VariableDeclaration
);
1327
N(SyntaxKind.
VariableDeclaration
);
1460
N(SyntaxKind.
VariableDeclaration
);
1580
N(SyntaxKind.
VariableDeclaration
);
1684
N(SyntaxKind.
VariableDeclaration
);
1785
N(SyntaxKind.
VariableDeclaration
);
1907
N(SyntaxKind.
VariableDeclaration
);
2040
N(SyntaxKind.
VariableDeclaration
);
2174
N(SyntaxKind.
VariableDeclaration
);
2305
N(SyntaxKind.
VariableDeclaration
);
2406
N(SyntaxKind.
VariableDeclaration
);
2515
N(SyntaxKind.
VariableDeclaration
);
2617
N(SyntaxKind.
VariableDeclaration
);
2735
N(SyntaxKind.
VariableDeclaration
);
2871
N(SyntaxKind.
VariableDeclaration
);
2972
N(SyntaxKind.
VariableDeclaration
);
3073
N(SyntaxKind.
VariableDeclaration
);
3174
N(SyntaxKind.
VariableDeclaration
);
3275
N(SyntaxKind.
VariableDeclaration
);
3388
N(SyntaxKind.
VariableDeclaration
);
3507
N(SyntaxKind.
VariableDeclaration
);
3623
N(SyntaxKind.
VariableDeclaration
);
Parsing\UsingDirectiveParsingTests.cs (17)
80
N(SyntaxKind.
VariableDeclaration
);
119
N(SyntaxKind.
VariableDeclaration
);
175
N(SyntaxKind.
VariableDeclaration
);
210
N(SyntaxKind.
VariableDeclaration
);
262
N(SyntaxKind.
VariableDeclaration
);
281
N(SyntaxKind.
VariableDeclaration
);
413
N(SyntaxKind.
VariableDeclaration
);
473
N(SyntaxKind.
VariableDeclaration
);
512
N(SyntaxKind.
VariableDeclaration
);
1652
N(SyntaxKind.
VariableDeclaration
);
1758
N(SyntaxKind.
VariableDeclaration
);
3440
N(SyntaxKind.
VariableDeclaration
);
3497
N(SyntaxKind.
VariableDeclaration
);
3732
N(SyntaxKind.
VariableDeclaration
);
3747
N(SyntaxKind.
VariableDeclaration
);
3894
N(SyntaxKind.
VariableDeclaration
);
3909
N(SyntaxKind.
VariableDeclaration
);
Parsing\ValueTupleTests.cs (3)
240
N(SyntaxKind.
VariableDeclaration
);
344
N(SyntaxKind.
VariableDeclaration
);
631
N(SyntaxKind.
VariableDeclaration
);
Microsoft.CodeAnalysis.CSharp.Workspaces (21)
CodeGeneration\CSharpSyntaxGenerator.cs (11)
739
case SyntaxKind.
VariableDeclaration
:
1284
case SyntaxKind.
VariableDeclaration
:
1328
SyntaxKind.
VariableDeclaration
=> ((VariableDeclarationSyntax)declaration).Variables.Count,
1961
case SyntaxKind.
VariableDeclaration
:
1993
SyntaxKind.
VariableDeclaration
=> ((VariableDeclarationSyntax)declaration).WithType((TypeSyntax)type),
2004
case SyntaxKind.
VariableDeclaration
:
2069
case SyntaxKind.
VariableDeclaration
:
2398
case SyntaxKind.
VariableDeclaration
:
2438
case SyntaxKind.
VariableDeclaration
:
2803
case SyntaxKind.
VariableDeclaration
:
2944
SyntaxKind.
VariableDeclaration
=> ((VariableDeclarationSyntax)declaration).Variables,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SemanticModelExtensions.cs (2)
236
type.Parent.Parent.Parent.IsParentKind(SyntaxKind.
VariableDeclaration
, out variableDeclaration) &&
297
if (type.IsParentKind(SyntaxKind.
VariableDeclaration
, out variableDeclaration) &&
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpAccessibilityFacts.cs (2)
48
case SyntaxKind.
VariableDeclaration
:
239
case SyntaxKind.
VariableDeclaration
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\TypeStyle\CSharpTypeStyleHelper.cs (2)
62
if (typeName?.FirstAncestorOrSelf<SyntaxNode>(a => a.Kind() is SyntaxKind.DeclarationExpression or SyntaxKind.
VariableDeclaration
or SyntaxKind.ForEachStatement) is not { } declaration)
84
Debug.Assert(node.Kind() is SyntaxKind.
VariableDeclaration
or SyntaxKind.ForEachStatement or SyntaxKind.DeclarationExpression);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpCodeGenerationService.cs (1)
886
case SyntaxKind.
VariableDeclaration
:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (3)
1800
if (parent.IsParentKind(SyntaxKind.
VariableDeclaration
) &&
2078
equalsValue.Parent.IsParentKind(SyntaxKind.
VariableDeclaration
))
2347
if (type.IsParentKind(SyntaxKind.
VariableDeclaration
) &&
Microsoft.CodeAnalysis.Test.Utilities (1)
Diagnostics\CommonDiagnosticAnalyzers.cs (1)
2883
SyntaxKind.
VariableDeclaration
);
Microsoft.ML.InternalCodeAnalyzer (1)
SingleVariableDeclarationAnalyzer.cs (1)
37
context.RegisterSyntaxNodeAction(Analyze, SyntaxKind.
VariableDeclaration
);
Microsoft.VisualStudio.LanguageServices.CSharp (1)
CodeModel\CSharpCodeModelService.cs (1)
256
case SyntaxKind.
VariableDeclaration
: