745 references to VariableDeclaration
Microsoft.CodeAnalysis.CSharp (9)
Binder\Binder_Expressions.cs (1)
4592
if (!variableDeclaration.IsKind(SyntaxKind.
VariableDeclaration
))
Binder\Binder_Statements.cs (1)
788
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)
5176
if (parent != null && (parent.Kind() == SyntaxKind.
VariableDeclaration
|| parent.Kind() == SyntaxKind.LocalDeclarationStatement))
5196
&& (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 (10)
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)
464
SyntaxKind.
VariableDeclaration
or
EditAndContinue\BreakpointSpans.cs (1)
266
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
);
1440
N(SyntaxKind.
VariableDeclaration
);
1455
N(SyntaxKind.
VariableDeclaration
);
1474
N(SyntaxKind.
VariableDeclaration
);
1494
N(SyntaxKind.
VariableDeclaration
);
1570
N(SyntaxKind.
VariableDeclaration
);
1641
N(SyntaxKind.
VariableDeclaration
);
1660
N(SyntaxKind.
VariableDeclaration
);
1683
N(SyntaxKind.
VariableDeclaration
);
1770
N(SyntaxKind.
VariableDeclaration
);
1789
N(SyntaxKind.
VariableDeclaration
);
1804
N(SyntaxKind.
VariableDeclaration
);
1824
N(SyntaxKind.
VariableDeclaration
);
1864
N(SyntaxKind.
VariableDeclaration
);
1886
N(SyntaxKind.
VariableDeclaration
);
1944
N(SyntaxKind.
VariableDeclaration
);
1979
N(SyntaxKind.
VariableDeclaration
);
2031
N(SyntaxKind.
VariableDeclaration
);
2054
N(SyntaxKind.
VariableDeclaration
);
2099
N(SyntaxKind.
VariableDeclaration
);
2117
N(SyntaxKind.
VariableDeclaration
);
2206
N(SyntaxKind.
VariableDeclaration
);
2232
N(SyntaxKind.
VariableDeclaration
);
2262
N(SyntaxKind.
VariableDeclaration
);
2312
N(SyntaxKind.
VariableDeclaration
);
2338
N(SyntaxKind.
VariableDeclaration
);
2368
N(SyntaxKind.
VariableDeclaration
);
2418
N(SyntaxKind.
VariableDeclaration
);
2440
N(SyntaxKind.
VariableDeclaration
);
2466
N(SyntaxKind.
VariableDeclaration
);
2510
N(SyntaxKind.
VariableDeclaration
);
2565
N(SyntaxKind.
VariableDeclaration
);
2587
N(SyntaxKind.
VariableDeclaration
);
2628
N(SyntaxKind.
VariableDeclaration
);
2650
N(SyntaxKind.
VariableDeclaration
);
2697
N(SyntaxKind.
VariableDeclaration
);
2736
N(SyntaxKind.
VariableDeclaration
);
2788
N(SyntaxKind.
VariableDeclaration
);
2811
N(SyntaxKind.
VariableDeclaration
);
2856
N(SyntaxKind.
VariableDeclaration
);
2874
N(SyntaxKind.
VariableDeclaration
);
2929
N(SyntaxKind.
VariableDeclaration
);
2969
N(SyntaxKind.
VariableDeclaration
);
2987
N(SyntaxKind.
VariableDeclaration
);
3067
N(SyntaxKind.
VariableDeclaration
);
3116
N(SyntaxKind.
VariableDeclaration
);
3138
N(SyntaxKind.
VariableDeclaration
);
3205
N(SyntaxKind.
VariableDeclaration
);
3221
N(SyntaxKind.
VariableDeclaration
);
3308
N(SyntaxKind.
VariableDeclaration
);
3344
N(SyntaxKind.
VariableDeclaration
);
3669
N(SyntaxKind.
VariableDeclaration
);
3745
N(SyntaxKind.
VariableDeclaration
);
3900
N(SyntaxKind.
VariableDeclaration
);
3984
N(SyntaxKind.
VariableDeclaration
);
4124
N(SyntaxKind.
VariableDeclaration
);
4268
N(SyntaxKind.
VariableDeclaration
);
4417
N(SyntaxKind.
VariableDeclaration
);
5219
N(SyntaxKind.
VariableDeclaration
);
5292
N(SyntaxKind.
VariableDeclaration
);
6271
N(SyntaxKind.
VariableDeclaration
);
6358
N(SyntaxKind.
VariableDeclaration
);
6769
N(SyntaxKind.
VariableDeclaration
);
8364
N(SyntaxKind.
VariableDeclaration
);
8401
N(SyntaxKind.
VariableDeclaration
);
8449
N(SyntaxKind.
VariableDeclaration
);
8494
N(SyntaxKind.
VariableDeclaration
);
8535
N(SyntaxKind.
VariableDeclaration
);
8584
N(SyntaxKind.
VariableDeclaration
);
8633
N(SyntaxKind.
VariableDeclaration
);
8674
N(SyntaxKind.
VariableDeclaration
);
8765
N(SyntaxKind.
VariableDeclaration
);
8867
N(SyntaxKind.
VariableDeclaration
);
8984
N(SyntaxKind.
VariableDeclaration
);
9025
N(SyntaxKind.
VariableDeclaration
);
9070
N(SyntaxKind.
VariableDeclaration
);
9116
N(SyntaxKind.
VariableDeclaration
);
9161
N(SyntaxKind.
VariableDeclaration
);
9202
N(SyntaxKind.
VariableDeclaration
);
9251
N(SyntaxKind.
VariableDeclaration
);
9292
N(SyntaxKind.
VariableDeclaration
);
9338
N(SyntaxKind.
VariableDeclaration
);
9384
N(SyntaxKind.
VariableDeclaration
);
9421
N(SyntaxKind.
VariableDeclaration
);
9466
N(SyntaxKind.
VariableDeclaration
);
9507
N(SyntaxKind.
VariableDeclaration
);
9543
N(SyntaxKind.
VariableDeclaration
);
9595
N(SyntaxKind.
VariableDeclaration
);
9882
N(SyntaxKind.
VariableDeclaration
);
9956
N(SyntaxKind.
VariableDeclaration
);
10268
N(SyntaxKind.
VariableDeclaration
);
11135
N(SyntaxKind.
VariableDeclaration
);
11239
N(SyntaxKind.
VariableDeclaration
);
11637
N(SyntaxKind.
VariableDeclaration
);
11693
N(SyntaxKind.
VariableDeclaration
);
11749
N(SyntaxKind.
VariableDeclaration
);
11768
N(SyntaxKind.
VariableDeclaration
);
11808
N(SyntaxKind.
VariableDeclaration
);
11852
N(SyntaxKind.
VariableDeclaration
);
11910
N(SyntaxKind.
VariableDeclaration
);
11930
N(SyntaxKind.
VariableDeclaration
);
11954
N(SyntaxKind.
VariableDeclaration
);
11995
N(SyntaxKind.
VariableDeclaration
);
12040
N(SyntaxKind.
VariableDeclaration
);
12091
N(SyntaxKind.
VariableDeclaration
);
12136
N(SyntaxKind.
VariableDeclaration
);
12182
N(SyntaxKind.
VariableDeclaration
);
12224
N(SyntaxKind.
VariableDeclaration
);
12290
N(SyntaxKind.
VariableDeclaration
);
12339
N(SyntaxKind.
VariableDeclaration
);
12396
N(SyntaxKind.
VariableDeclaration
);
12470
N(SyntaxKind.
VariableDeclaration
);
12537
N(SyntaxKind.
VariableDeclaration
);
12576
N(SyntaxKind.
VariableDeclaration
);
12635
N(SyntaxKind.
VariableDeclaration
);
12674
N(SyntaxKind.
VariableDeclaration
);
12737
N(SyntaxKind.
VariableDeclaration
);
12780
N(SyntaxKind.
VariableDeclaration
);
12844
N(SyntaxKind.
VariableDeclaration
);
12888
N(SyntaxKind.
VariableDeclaration
);
12934
N(SyntaxKind.
VariableDeclaration
);
12984
N(SyntaxKind.
VariableDeclaration
);
13035
N(SyntaxKind.
VariableDeclaration
);
13085
N(SyntaxKind.
VariableDeclaration
);
13131
N(SyntaxKind.
VariableDeclaration
);
13185
N(SyntaxKind.
VariableDeclaration
);
13231
N(SyntaxKind.
VariableDeclaration
);
13281
N(SyntaxKind.
VariableDeclaration
);
13332
N(SyntaxKind.
VariableDeclaration
);
13374
N(SyntaxKind.
VariableDeclaration
);
13426
N(SyntaxKind.
VariableDeclaration
);
13440
N(SyntaxKind.
VariableDeclaration
);
13489
N(SyntaxKind.
VariableDeclaration
);
13551
N(SyntaxKind.
VariableDeclaration
);
13614
N(SyntaxKind.
VariableDeclaration
);
13629
N(SyntaxKind.
VariableDeclaration
);
13684
N(SyntaxKind.
VariableDeclaration
);
13699
N(SyntaxKind.
VariableDeclaration
);
13770
N(SyntaxKind.
VariableDeclaration
);
13883
N(SyntaxKind.
VariableDeclaration
);
13989
N(SyntaxKind.
VariableDeclaration
);
14053
N(SyntaxKind.
VariableDeclaration
);
14109
N(SyntaxKind.
VariableDeclaration
);
14182
N(SyntaxKind.
VariableDeclaration
);
14238
N(SyntaxKind.
VariableDeclaration
);
14302
N(SyntaxKind.
VariableDeclaration
);
14325
N(SyntaxKind.
VariableDeclaration
);
14385
N(SyntaxKind.
VariableDeclaration
);
14453
N(SyntaxKind.
VariableDeclaration
);
14521
N(SyntaxKind.
VariableDeclaration
);
14569
N(SyntaxKind.
VariableDeclaration
);
14616
N(SyntaxKind.
VariableDeclaration
);
14663
N(SyntaxKind.
VariableDeclaration
);
14817
N(SyntaxKind.
VariableDeclaration
);
14903
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)
3815
N(SyntaxKind.
VariableDeclaration
);
3946
N(SyntaxKind.
VariableDeclaration
);
4059
N(SyntaxKind.
VariableDeclaration
);
4176
N(SyntaxKind.
VariableDeclaration
);
4213
N(SyntaxKind.
VariableDeclaration
);
4325
N(SyntaxKind.
VariableDeclaration
);
4459
N(SyntaxKind.
VariableDeclaration
);
Parsing\LambdaParameterParsingTests.cs (47)
80
N(SyntaxKind.
VariableDeclaration
);
191
N(SyntaxKind.
VariableDeclaration
);
310
N(SyntaxKind.
VariableDeclaration
);
360
N(SyntaxKind.
VariableDeclaration
);
436
N(SyntaxKind.
VariableDeclaration
);
486
N(SyntaxKind.
VariableDeclaration
);
565
N(SyntaxKind.
VariableDeclaration
);
615
N(SyntaxKind.
VariableDeclaration
);
785
N(SyntaxKind.
VariableDeclaration
);
841
N(SyntaxKind.
VariableDeclaration
);
918
N(SyntaxKind.
VariableDeclaration
);
979
N(SyntaxKind.
VariableDeclaration
);
1053
N(SyntaxKind.
VariableDeclaration
);
1118
N(SyntaxKind.
VariableDeclaration
);
1193
N(SyntaxKind.
VariableDeclaration
);
1259
N(SyntaxKind.
VariableDeclaration
);
1315
N(SyntaxKind.
VariableDeclaration
);
1376
N(SyntaxKind.
VariableDeclaration
);
1440
N(SyntaxKind.
VariableDeclaration
);
1504
N(SyntaxKind.
VariableDeclaration
);
1567
N(SyntaxKind.
VariableDeclaration
);
1617
N(SyntaxKind.
VariableDeclaration
);
1668
N(SyntaxKind.
VariableDeclaration
);
1736
N(SyntaxKind.
VariableDeclaration
);
1804
N(SyntaxKind.
VariableDeclaration
);
1860
N(SyntaxKind.
VariableDeclaration
);
1928
N(SyntaxKind.
VariableDeclaration
);
1986
N(SyntaxKind.
VariableDeclaration
);
2060
N(SyntaxKind.
VariableDeclaration
);
2154
N(SyntaxKind.
VariableDeclaration
);
2218
N(SyntaxKind.
VariableDeclaration
);
2278
N(SyntaxKind.
VariableDeclaration
);
2308
N(SyntaxKind.
VariableDeclaration
);
2423
N(SyntaxKind.
VariableDeclaration
);
2494
N(SyntaxKind.
VariableDeclaration
);
2564
N(SyntaxKind.
VariableDeclaration
);
4337
N(SyntaxKind.
VariableDeclaration
);
4401
N(SyntaxKind.
VariableDeclaration
);
4470
N(SyntaxKind.
VariableDeclaration
);
4556
N(SyntaxKind.
VariableDeclaration
);
4615
N(SyntaxKind.
VariableDeclaration
);
4764
N(SyntaxKind.
VariableDeclaration
);
4820
N(SyntaxKind.
VariableDeclaration
);
4881
N(SyntaxKind.
VariableDeclaration
);
4959
N(SyntaxKind.
VariableDeclaration
);
5018
N(SyntaxKind.
VariableDeclaration
);
5490
N(SyntaxKind.
VariableDeclaration
);
Parsing\LambdaReturnTypeParsingTests.cs (6)
2666
N(SyntaxKind.
VariableDeclaration
);
2720
N(SyntaxKind.
VariableDeclaration
);
2773
N(SyntaxKind.
VariableDeclaration
);
2834
N(SyntaxKind.
VariableDeclaration
);
5084
N(SyntaxKind.
VariableDeclaration
);
5297
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
: