590 references to LocalDeclarationStatement
Microsoft.CodeAnalysis.CSharp (20)
Binder\Binder_Expressions.cs (1)
4595
variableDeclaration.Parent.IsKind(SyntaxKind.
LocalDeclarationStatement
) ||
Binder\Binder_Statements.cs (3)
66
case SyntaxKind.
LocalDeclarationStatement
:
325
case SyntaxKind.
LocalDeclarationStatement
:
828
if (declarationNode.Parent.Kind() == SyntaxKind.
LocalDeclarationStatement
&&
Binder\LocalBinderFactory.cs (1)
1041
case SyntaxKind.
LocalDeclarationStatement
:
Binder\LocalScopeBinder.cs (1)
186
case SyntaxKind.
LocalDeclarationStatement
:
Binder\UsingStatementBinder.cs (1)
92
bool isUsingDeclaration = syntax.Kind() == SyntaxKind.
LocalDeclarationStatement
;
Compilation\MemberSemanticModel.cs (1)
2238
if (grandparent != null && grandparent.Kind() == SyntaxKind.
LocalDeclarationStatement
&&
Lowering\Instrumentation\DebugInfoInjector_SequencePoints.cs (1)
105
case SyntaxKind.
LocalDeclarationStatement
:
Lowering\Instrumentation\Instrumenter.cs (1)
215
(original.Syntax.Kind() == SyntaxKind.
LocalDeclarationStatement
&&
Lowering\LocalRewriter\LocalRewriter_LocalDeclaration.cs (1)
77
(originalOpt.Syntax.Kind() == SyntaxKind.
LocalDeclarationStatement
&&
Operations\CSharpOperationFactory.cs (2)
2108
case SyntaxKind.
LocalDeclarationStatement
:
2156
SyntaxNode declarationSyntax = declarationGroupSyntax.IsKind(SyntaxKind.
LocalDeclarationStatement
) ?
Parser\LanguageParser.cs (3)
2870
case SyntaxKind.
LocalDeclarationStatement
:
5133
if (parent != null && (parent.Kind() == SyntaxKind.VariableDeclaration || parent.Kind() == SyntaxKind.
LocalDeclarationStatement
))
5154
&& oldKind != SyntaxKind.
LocalDeclarationStatement
;
Symbols\Source\SourceLocalSymbol.cs (1)
174
new[] { SyntaxKind.
LocalDeclarationStatement
, SyntaxKind.ForStatement, SyntaxKind.UsingStatement, SyntaxKind.FixedStatement }.
Symbols\Source\SourceMemberContainerSymbol.cs (1)
5201
case SyntaxKind.
LocalDeclarationStatement
:
Syntax\LookupPosition.cs (2)
325
case SyntaxKind.
LocalDeclarationStatement
:
386
case SyntaxKind.
LocalDeclarationStatement
:
Microsoft.CodeAnalysis.CSharp.CodeStyle (12)
src\Analyzers\CSharp\Analyzers\UseLocalFunction\CSharpUseLocalFunctionDiagnosticAnalyzer.cs (2)
326
if (containingStatement.IsKind(SyntaxKind.
LocalDeclarationStatement
, out localDeclaration) &&
363
if (previousStatement.IsKind(SyntaxKind.
LocalDeclarationStatement
, out localDeclaration) &&
src\Analyzers\CSharp\Analyzers\UsePatternMatching\CSharpAsAndNullCheckDiagnosticAnalyzer.Analyzer.cs (1)
39
Debug.Assert(localStatement.IsKind(SyntaxKind.
LocalDeclarationStatement
));
src\Analyzers\CSharp\Analyzers\UsePatternMatching\CSharpIsAndCastCheckDiagnosticAnalyzer.cs (1)
187
if (!firstStatement.IsKind(SyntaxKind.
LocalDeclarationStatement
, out localDeclarationStatement))
src\Analyzers\CSharp\Analyzers\UseTupleSwap\CSharpUseTupleSwapDiagnosticAnalyzer.cs (1)
58
SyntaxKind.
LocalDeclarationStatement
);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\SpacingFormattingRule.cs (1)
580
or SyntaxKind.
LocalDeclarationStatement
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpAccessibilityFacts.cs (2)
227
case SyntaxKind.
LocalDeclarationStatement
:
329
=> node?.Parent.IsKind(SyntaxKind.
LocalDeclarationStatement
) ?? false;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxKinds.cs (1)
145
public int LocalDeclarationStatement => (int)SyntaxKind.
LocalDeclarationStatement
;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\TypeStyle\CSharpTypeStyleHelper.cs (1)
107
SyntaxKind.
LocalDeclarationStatement
or
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\TypeStyle\CSharpUseExplicitTypeHelper.cs (1)
86
typeName.Parent.Parent is (kind: SyntaxKind.
LocalDeclarationStatement
or SyntaxKind.ForStatement or SyntaxKind.UsingStatement))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\TypeStyle\CSharpUseImplicitTypeHelper.cs (1)
108
SyntaxKind.
LocalDeclarationStatement
or
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (3)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (3)
1786
token.Parent.IsKind(SyntaxKind.
LocalDeclarationStatement
))
1798
if (parent is (kind: SyntaxKind.RefType or SyntaxKind.RefExpression or SyntaxKind.
LocalDeclarationStatement
))
1802
SyntaxKind.
LocalDeclarationStatement
or
Microsoft.CodeAnalysis.CSharp.EditorFeatures (1)
CompleteStatement\CompleteStatementCommandHandler.cs (1)
363
case SyntaxKind.
LocalDeclarationStatement
:
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (5)
Diagnostics\GetDiagnosticsTests.cs (2)
1636
AssertEx.All(analyzer.AnalyzedSyntaxNodes, node => node.IsKind(SyntaxKind.
LocalDeclarationStatement
));
1640
AssertEx.All(analyzer.AnalyzedSyntaxNodesInsideCodeBlock, node => node.IsKind(SyntaxKind.
LocalDeclarationStatement
));
Semantics\OutVarTests.cs (2)
1191
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, parent1.Kind());
32708
var inFieldDeclaratorArgumentlist = declarator != null && declarator.Parent.Parent.Kind() != SyntaxKind.
LocalDeclarationStatement
&&
Semantics\PatternMatchingTestBase.cs (1)
292
var inFieldDeclaratorArgumentlist = declarator != null && declarator.Parent.Parent.Kind() != SyntaxKind.
LocalDeclarationStatement
&&
Microsoft.CodeAnalysis.CSharp.Features (14)
CodeLens\CSharpCodeLensDisplayInfoService.cs (1)
40
case SyntaxKind.
LocalDeclarationStatement
:
ConvertLinq\ConvertForEachToLinqQuery\AbstractToMethodConverter.cs (2)
58
case SyntaxKind.
LocalDeclarationStatement
:
148
case SyntaxKind.
LocalDeclarationStatement
:
ConvertLinq\ConvertForEachToLinqQuery\CSharpConvertForEachToLinqQueryProvider.cs (1)
127
case SyntaxKind.
LocalDeclarationStatement
:
ConvertLinq\CSharpConvertLinqQueryToForEachProvider.cs (1)
465
SyntaxKind.
LocalDeclarationStatement
&&
Debugging\CSharpProximityExpressionsService.Worker.cs (1)
192
case SyntaxKind.
LocalDeclarationStatement
:
EditAndContinue\BreakpointSpans.cs (2)
589
case SyntaxKind.
LocalDeclarationStatement
:
776
SyntaxKind.
LocalDeclarationStatement
or SyntaxKind.EventFieldDeclaration or SyntaxKind.FieldDeclaration => null,
EditAndContinue\SyntaxComparer.cs (1)
332
case SyntaxKind.
LocalDeclarationStatement
:
src\Analyzers\CSharp\Analyzers\UseLocalFunction\CSharpUseLocalFunctionDiagnosticAnalyzer.cs (2)
326
if (containingStatement.IsKind(SyntaxKind.
LocalDeclarationStatement
, out localDeclaration) &&
363
if (previousStatement.IsKind(SyntaxKind.
LocalDeclarationStatement
, out localDeclaration) &&
src\Analyzers\CSharp\Analyzers\UsePatternMatching\CSharpAsAndNullCheckDiagnosticAnalyzer.Analyzer.cs (1)
39
Debug.Assert(localStatement.IsKind(SyntaxKind.
LocalDeclarationStatement
));
src\Analyzers\CSharp\Analyzers\UsePatternMatching\CSharpIsAndCastCheckDiagnosticAnalyzer.cs (1)
187
if (!firstStatement.IsKind(SyntaxKind.
LocalDeclarationStatement
, out localDeclarationStatement))
src\Analyzers\CSharp\Analyzers\UseTupleSwap\CSharpUseTupleSwapDiagnosticAnalyzer.cs (1)
58
SyntaxKind.
LocalDeclarationStatement
);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (3)
SymbolDisplay\SymbolDisplayTests.cs (2)
8227
var declaration = (LocalDeclarationStatementSyntax)semanticModel.SyntaxTree.GetRoot().DescendantNodes().Single(n => n.Kind() == SyntaxKind.
LocalDeclarationStatement
);
8278
var declaration = (LocalDeclarationStatementSyntax)semanticModel.SyntaxTree.GetRoot().DescendantNodes().Single(n => n.Kind() == SyntaxKind.
LocalDeclarationStatement
);
Symbols\TypeTests.cs (1)
1763
var node1 = (LocalDeclarationStatementSyntax)tree.FindNodeOrTokenByKind(SyntaxKind.
LocalDeclarationStatement
, 3);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (500)
IncrementalParsing\IncrementalParsingTests.cs (1)
446
SyntaxKind.
LocalDeclarationStatement
,
Parsing\AnonymousFunctionParsingTests.cs (27)
69
N(SyntaxKind.
LocalDeclarationStatement
);
170
N(SyntaxKind.
LocalDeclarationStatement
);
267
N(SyntaxKind.
LocalDeclarationStatement
);
368
N(SyntaxKind.
LocalDeclarationStatement
);
469
N(SyntaxKind.
LocalDeclarationStatement
);
573
N(SyntaxKind.
LocalDeclarationStatement
);
704
N(SyntaxKind.
LocalDeclarationStatement
);
822
N(SyntaxKind.
LocalDeclarationStatement
);
1927
N(SyntaxKind.
LocalDeclarationStatement
);
2056
N(SyntaxKind.
LocalDeclarationStatement
);
2134
N(SyntaxKind.
LocalDeclarationStatement
);
2220
N(SyntaxKind.
LocalDeclarationStatement
);
2513
N(SyntaxKind.
LocalDeclarationStatement
);
2661
N(SyntaxKind.
LocalDeclarationStatement
);
2809
N(SyntaxKind.
LocalDeclarationStatement
);
2935
N(SyntaxKind.
LocalDeclarationStatement
);
3071
N(SyntaxKind.
LocalDeclarationStatement
);
3194
N(SyntaxKind.
LocalDeclarationStatement
);
3334
N(SyntaxKind.
LocalDeclarationStatement
);
3487
N(SyntaxKind.
LocalDeclarationStatement
);
3640
N(SyntaxKind.
LocalDeclarationStatement
);
3789
N(SyntaxKind.
LocalDeclarationStatement
);
3934
N(SyntaxKind.
LocalDeclarationStatement
);
4066
N(SyntaxKind.
LocalDeclarationStatement
);
4215
N(SyntaxKind.
LocalDeclarationStatement
);
4377
N(SyntaxKind.
LocalDeclarationStatement
);
4539
N(SyntaxKind.
LocalDeclarationStatement
);
Parsing\AsyncStreamsParsingTests.cs (1)
228
N(SyntaxKind.
LocalDeclarationStatement
);
Parsing\AwaitParsingTests.cs (13)
295
N(SyntaxKind.
LocalDeclarationStatement
);
365
N(SyntaxKind.
LocalDeclarationStatement
);
971
N(SyntaxKind.
LocalDeclarationStatement
);
1031
N(SyntaxKind.
LocalDeclarationStatement
);
1077
N(SyntaxKind.
LocalDeclarationStatement
);
1367
N(SyntaxKind.
LocalDeclarationStatement
);
1447
N(SyntaxKind.
LocalDeclarationStatement
);
1526
N(SyntaxKind.
LocalDeclarationStatement
);
1617
N(SyntaxKind.
LocalDeclarationStatement
);
2413
N(SyntaxKind.
LocalDeclarationStatement
);
2498
N(SyntaxKind.
LocalDeclarationStatement
);
2545
N(SyntaxKind.
LocalDeclarationStatement
);
2657
N(SyntaxKind.
LocalDeclarationStatement
);
Parsing\CollectionExpressionParsingTests.cs (14)
288
N(SyntaxKind.
LocalDeclarationStatement
);
553
N(SyntaxKind.
LocalDeclarationStatement
);
3060
N(SyntaxKind.
LocalDeclarationStatement
);
3153
N(SyntaxKind.
LocalDeclarationStatement
);
5640
N(SyntaxKind.
LocalDeclarationStatement
);
5701
N(SyntaxKind.
LocalDeclarationStatement
);
7085
N(SyntaxKind.
LocalDeclarationStatement
);
18110
N(SyntaxKind.
LocalDeclarationStatement
);
18194
N(SyntaxKind.
LocalDeclarationStatement
);
18255
N(SyntaxKind.
LocalDeclarationStatement
);
18310
N(SyntaxKind.
LocalDeclarationStatement
);
18370
N(SyntaxKind.
LocalDeclarationStatement
);
18434
N(SyntaxKind.
LocalDeclarationStatement
);
18511
N(SyntaxKind.
LocalDeclarationStatement
);
Parsing\DeclarationExpressionTests.cs (2)
278
N(SyntaxKind.
LocalDeclarationStatement
);
341
N(SyntaxKind.
LocalDeclarationStatement
);
Parsing\DeclarationParsingTests.cs (2)
8306
N(SyntaxKind.
LocalDeclarationStatement
);
8618
N(SyntaxKind.
LocalDeclarationStatement
);
Parsing\DeclarationScopeParsingTests.cs (90)
1438
N(SyntaxKind.
LocalDeclarationStatement
);
1453
N(SyntaxKind.
LocalDeclarationStatement
);
1472
N(SyntaxKind.
LocalDeclarationStatement
);
1492
N(SyntaxKind.
LocalDeclarationStatement
);
1568
N(SyntaxKind.
LocalDeclarationStatement
);
1639
N(SyntaxKind.
LocalDeclarationStatement
);
1658
N(SyntaxKind.
LocalDeclarationStatement
);
1681
N(SyntaxKind.
LocalDeclarationStatement
);
1768
N(SyntaxKind.
LocalDeclarationStatement
);
1787
N(SyntaxKind.
LocalDeclarationStatement
);
1802
N(SyntaxKind.
LocalDeclarationStatement
);
1822
N(SyntaxKind.
LocalDeclarationStatement
);
1862
N(SyntaxKind.
LocalDeclarationStatement
);
1884
N(SyntaxKind.
LocalDeclarationStatement
);
1942
N(SyntaxKind.
LocalDeclarationStatement
);
1977
N(SyntaxKind.
LocalDeclarationStatement
);
2029
N(SyntaxKind.
LocalDeclarationStatement
);
2052
N(SyntaxKind.
LocalDeclarationStatement
);
2097
N(SyntaxKind.
LocalDeclarationStatement
);
2115
N(SyntaxKind.
LocalDeclarationStatement
);
2204
N(SyntaxKind.
LocalDeclarationStatement
);
2230
N(SyntaxKind.
LocalDeclarationStatement
);
2260
N(SyntaxKind.
LocalDeclarationStatement
);
2310
N(SyntaxKind.
LocalDeclarationStatement
);
2336
N(SyntaxKind.
LocalDeclarationStatement
);
2366
N(SyntaxKind.
LocalDeclarationStatement
);
2416
N(SyntaxKind.
LocalDeclarationStatement
);
2438
N(SyntaxKind.
LocalDeclarationStatement
);
2464
N(SyntaxKind.
LocalDeclarationStatement
);
2508
N(SyntaxKind.
LocalDeclarationStatement
);
2563
N(SyntaxKind.
LocalDeclarationStatement
);
2585
N(SyntaxKind.
LocalDeclarationStatement
);
2626
N(SyntaxKind.
LocalDeclarationStatement
);
2648
N(SyntaxKind.
LocalDeclarationStatement
);
2695
N(SyntaxKind.
LocalDeclarationStatement
);
2734
N(SyntaxKind.
LocalDeclarationStatement
);
2786
N(SyntaxKind.
LocalDeclarationStatement
);
2809
N(SyntaxKind.
LocalDeclarationStatement
);
2854
N(SyntaxKind.
LocalDeclarationStatement
);
2872
N(SyntaxKind.
LocalDeclarationStatement
);
2926
N(SyntaxKind.
LocalDeclarationStatement
);
2967
N(SyntaxKind.
LocalDeclarationStatement
);
2985
N(SyntaxKind.
LocalDeclarationStatement
);
3064
N(SyntaxKind.
LocalDeclarationStatement
);
3114
N(SyntaxKind.
LocalDeclarationStatement
);
3136
N(SyntaxKind.
LocalDeclarationStatement
);
3203
N(SyntaxKind.
LocalDeclarationStatement
);
3218
N(SyntaxKind.
LocalDeclarationStatement
);
3306
N(SyntaxKind.
LocalDeclarationStatement
);
3667
N(SyntaxKind.
LocalDeclarationStatement
);
3743
N(SyntaxKind.
LocalDeclarationStatement
);
3897
N(SyntaxKind.
LocalDeclarationStatement
);
3981
N(SyntaxKind.
LocalDeclarationStatement
);
4122
N(SyntaxKind.
LocalDeclarationStatement
);
4266
N(SyntaxKind.
LocalDeclarationStatement
);
4415
N(SyntaxKind.
LocalDeclarationStatement
);
5217
N(SyntaxKind.
LocalDeclarationStatement
);
5290
N(SyntaxKind.
LocalDeclarationStatement
);
6268
N(SyntaxKind.
LocalDeclarationStatement
);
6355
N(SyntaxKind.
LocalDeclarationStatement
);
6766
N(SyntaxKind.
LocalDeclarationStatement
);
9541
N(SyntaxKind.
LocalDeclarationStatement
);
9593
N(SyntaxKind.
LocalDeclarationStatement
);
9879
N(SyntaxKind.
LocalDeclarationStatement
);
9953
N(SyntaxKind.
LocalDeclarationStatement
);
10265
N(SyntaxKind.
LocalDeclarationStatement
);
11133
N(SyntaxKind.
LocalDeclarationStatement
);
11236
N(SyntaxKind.
LocalDeclarationStatement
);
11635
N(SyntaxKind.
LocalDeclarationStatement
);
11691
N(SyntaxKind.
LocalDeclarationStatement
);
11746
N(SyntaxKind.
LocalDeclarationStatement
);
11765
N(SyntaxKind.
LocalDeclarationStatement
);
11805
N(SyntaxKind.
LocalDeclarationStatement
);
11849
N(SyntaxKind.
LocalDeclarationStatement
);
11906
N(SyntaxKind.
LocalDeclarationStatement
);
11926
N(SyntaxKind.
LocalDeclarationStatement
);
11950
N(SyntaxKind.
LocalDeclarationStatement
);
11991
N(SyntaxKind.
LocalDeclarationStatement
);
12036
N(SyntaxKind.
LocalDeclarationStatement
);
12088
N(SyntaxKind.
LocalDeclarationStatement
);
12132
N(SyntaxKind.
LocalDeclarationStatement
);
12288
N(SyntaxKind.
LocalDeclarationStatement
);
12467
N(SyntaxKind.
LocalDeclarationStatement
);
12534
N(SyntaxKind.
LocalDeclarationStatement
);
12633
N(SyntaxKind.
LocalDeclarationStatement
);
12735
N(SyntaxKind.
LocalDeclarationStatement
);
12842
N(SyntaxKind.
LocalDeclarationStatement
);
13438
N(SyntaxKind.
LocalDeclarationStatement
);
14815
N(SyntaxKind.
LocalDeclarationStatement
);
14901
N(SyntaxKind.
LocalDeclarationStatement
);
Parsing\DeconstructionTests.cs (4)
145
N(SyntaxKind.
LocalDeclarationStatement
);
223
N(SyntaxKind.
LocalDeclarationStatement
);
299
N(SyntaxKind.
LocalDeclarationStatement
);
1881
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, statement.Kind());
Parsing\ExpressionParsingTests.cs (10)
3285
N(SyntaxKind.
LocalDeclarationStatement
);
3375
N(SyntaxKind.
LocalDeclarationStatement
);
3449
N(SyntaxKind.
LocalDeclarationStatement
);
3531
N(SyntaxKind.
LocalDeclarationStatement
);
3859
N(SyntaxKind.
LocalDeclarationStatement
);
4127
N(SyntaxKind.
LocalDeclarationStatement
);
4221
N(SyntaxKind.
LocalDeclarationStatement
);
4318
N(SyntaxKind.
LocalDeclarationStatement
);
4423
N(SyntaxKind.
LocalDeclarationStatement
);
4708
N(SyntaxKind.
LocalDeclarationStatement
);
Parsing\FileModifierParsingTests.cs (16)
152
N(SyntaxKind.
LocalDeclarationStatement
);
295
N(SyntaxKind.
LocalDeclarationStatement
);
358
N(SyntaxKind.
LocalDeclarationStatement
);
421
N(SyntaxKind.
LocalDeclarationStatement
);
2054
N(SyntaxKind.
LocalDeclarationStatement
);
2107
N(SyntaxKind.
LocalDeclarationStatement
);
2233
N(SyntaxKind.
LocalDeclarationStatement
);
2298
N(SyntaxKind.
LocalDeclarationStatement
);
2361
N(SyntaxKind.
LocalDeclarationStatement
);
2424
N(SyntaxKind.
LocalDeclarationStatement
);
3051
N(SyntaxKind.
LocalDeclarationStatement
);
3112
N(SyntaxKind.
LocalDeclarationStatement
);
3159
N(SyntaxKind.
LocalDeclarationStatement
);
3199
N(SyntaxKind.
LocalDeclarationStatement
);
3241
N(SyntaxKind.
LocalDeclarationStatement
);
3320
N(SyntaxKind.
LocalDeclarationStatement
);
Parsing\FunctionPointerTests.cs (51)
21
N(SyntaxKind.
LocalDeclarationStatement
);
77
N(SyntaxKind.
LocalDeclarationStatement
);
149
N(SyntaxKind.
LocalDeclarationStatement
);
199
N(SyntaxKind.
LocalDeclarationStatement
);
242
N(SyntaxKind.
LocalDeclarationStatement
);
294
N(SyntaxKind.
LocalDeclarationStatement
);
345
N(SyntaxKind.
LocalDeclarationStatement
);
388
N(SyntaxKind.
LocalDeclarationStatement
);
436
N(SyntaxKind.
LocalDeclarationStatement
);
534
N(SyntaxKind.
LocalDeclarationStatement
);
599
N(SyntaxKind.
LocalDeclarationStatement
);
650
N(SyntaxKind.
LocalDeclarationStatement
);
756
N(SyntaxKind.
LocalDeclarationStatement
);
803
N(SyntaxKind.
LocalDeclarationStatement
);
880
N(SyntaxKind.
LocalDeclarationStatement
);
924
N(SyntaxKind.
LocalDeclarationStatement
);
966
N(SyntaxKind.
LocalDeclarationStatement
);
1011
N(SyntaxKind.
LocalDeclarationStatement
);
1061
N(SyntaxKind.
LocalDeclarationStatement
);
1115
N(SyntaxKind.
LocalDeclarationStatement
);
1166
N(SyntaxKind.
LocalDeclarationStatement
);
1220
N(SyntaxKind.
LocalDeclarationStatement
);
1346
N(SyntaxKind.
LocalDeclarationStatement
);
1390
N(SyntaxKind.
LocalDeclarationStatement
);
1438
N(SyntaxKind.
LocalDeclarationStatement
);
1496
N(SyntaxKind.
LocalDeclarationStatement
);
1560
N(SyntaxKind.
LocalDeclarationStatement
);
1616
N(SyntaxKind.
LocalDeclarationStatement
);
1663
N(SyntaxKind.
LocalDeclarationStatement
);
2159
N(SyntaxKind.
LocalDeclarationStatement
);
2374
N(SyntaxKind.
LocalDeclarationStatement
);
2433
N(SyntaxKind.
LocalDeclarationStatement
);
2840
N(SyntaxKind.
LocalDeclarationStatement
);
3075
N(SyntaxKind.
LocalDeclarationStatement
);
3135
N(SyntaxKind.
LocalDeclarationStatement
);
3179
N(SyntaxKind.
LocalDeclarationStatement
);
3230
N(SyntaxKind.
LocalDeclarationStatement
);
3272
N(SyntaxKind.
LocalDeclarationStatement
);
3311
N(SyntaxKind.
LocalDeclarationStatement
);
3377
N(SyntaxKind.
LocalDeclarationStatement
);
3450
N(SyntaxKind.
LocalDeclarationStatement
);
3530
N(SyntaxKind.
LocalDeclarationStatement
);
3602
N(SyntaxKind.
LocalDeclarationStatement
);
3660
N(SyntaxKind.
LocalDeclarationStatement
);
3704
N(SyntaxKind.
LocalDeclarationStatement
);
3761
N(SyntaxKind.
LocalDeclarationStatement
);
3821
N(SyntaxKind.
LocalDeclarationStatement
);
3902
N(SyntaxKind.
LocalDeclarationStatement
);
3990
N(SyntaxKind.
LocalDeclarationStatement
);
4018
N(SyntaxKind.
LocalDeclarationStatement
);
4074
N(SyntaxKind.
LocalDeclarationStatement
);
Parsing\LambdaAttributeParsingTests.cs (7)
3813
N(SyntaxKind.
LocalDeclarationStatement
);
3944
N(SyntaxKind.
LocalDeclarationStatement
);
4057
N(SyntaxKind.
LocalDeclarationStatement
);
4174
N(SyntaxKind.
LocalDeclarationStatement
);
4211
N(SyntaxKind.
LocalDeclarationStatement
);
4323
N(SyntaxKind.
LocalDeclarationStatement
);
4457
N(SyntaxKind.
LocalDeclarationStatement
);
Parsing\LambdaParameterParsingTests.cs (9)
78
N(SyntaxKind.
LocalDeclarationStatement
);
189
N(SyntaxKind.
LocalDeclarationStatement
);
308
N(SyntaxKind.
LocalDeclarationStatement
);
358
N(SyntaxKind.
LocalDeclarationStatement
);
434
N(SyntaxKind.
LocalDeclarationStatement
);
484
N(SyntaxKind.
LocalDeclarationStatement
);
563
N(SyntaxKind.
LocalDeclarationStatement
);
613
N(SyntaxKind.
LocalDeclarationStatement
);
5488
N(SyntaxKind.
LocalDeclarationStatement
);
Parsing\LambdaReturnTypeParsingTests.cs (2)
2771
N(SyntaxKind.
LocalDeclarationStatement
);
2832
N(SyntaxKind.
LocalDeclarationStatement
);
Parsing\LocalFunctionParsingTests.cs (9)
885
N(SyntaxKind.
LocalDeclarationStatement
);
940
N(SyntaxKind.
LocalDeclarationStatement
);
1020
N(SyntaxKind.
LocalDeclarationStatement
);
2602
N(SyntaxKind.
LocalDeclarationStatement
);
2692
N(SyntaxKind.
LocalDeclarationStatement
);
2926
N(SyntaxKind.
LocalDeclarationStatement
);
3007
N(SyntaxKind.
LocalDeclarationStatement
);
3053
N(SyntaxKind.
LocalDeclarationStatement
);
3114
N(SyntaxKind.
LocalDeclarationStatement
);
Parsing\MemberDeclarationParsingTests.cs (9)
2271
N(SyntaxKind.
LocalDeclarationStatement
);
8648
N(SyntaxKind.
LocalDeclarationStatement
);
15985
N(SyntaxKind.
LocalDeclarationStatement
);
16082
N(SyntaxKind.
LocalDeclarationStatement
);
16521
N(SyntaxKind.
LocalDeclarationStatement
);
16633
N(SyntaxKind.
LocalDeclarationStatement
);
17433
N(SyntaxKind.
LocalDeclarationStatement
);
17495
N(SyntaxKind.
LocalDeclarationStatement
);
17569
N(SyntaxKind.
LocalDeclarationStatement
);
Parsing\NullableParsingTests.cs (1)
1092
N(SyntaxKind.
LocalDeclarationStatement
);
Parsing\ParserRegressionTests.cs (5)
287
N(SyntaxKind.
LocalDeclarationStatement
);
380
N(SyntaxKind.
LocalDeclarationStatement
);
425
N(SyntaxKind.
LocalDeclarationStatement
);
514
N(SyntaxKind.
LocalDeclarationStatement
);
782
N(SyntaxKind.
LocalDeclarationStatement
);
Parsing\ParsingErrorRecoveryTests.cs (70)
3045
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
3068
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
3092
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
3116
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
3138
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
3161
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
3184
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
3207
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
3230
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
3253
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
3274
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
3295
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
3316
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
3337
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
3358
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
3379
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
4585
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
4611
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
4638
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
4665
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
4693
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
4720
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
4747
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
4776
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
4805
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
4835
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
4864
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
4893
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
4920
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
4947
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
4974
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
5002
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
5029
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
5057
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
5083
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
5113
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
5142
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
5172
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
5216
N(SyntaxKind.
LocalDeclarationStatement
);
5261
N(SyntaxKind.
LocalDeclarationStatement
);
5328
N(SyntaxKind.
LocalDeclarationStatement
);
5411
N(SyntaxKind.
LocalDeclarationStatement
);
5475
N(SyntaxKind.
LocalDeclarationStatement
);
5588
N(SyntaxKind.
LocalDeclarationStatement
);
5725
N(SyntaxKind.
LocalDeclarationStatement
);
5825
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
5864
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
5893
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
5922
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
5952
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
5981
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
6015
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
6042
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
6069
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
6096
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
6124
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
6151
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
6181
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
6212
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
6240
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
6287
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
6321
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
6351
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
6639
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, md.Body.Statements[0].Kind());
6684
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, md.Body.Statements[0].Kind());
6728
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, md.Body.Statements[0].Kind());
6778
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, md.Body.Statements[0].Kind());
6826
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, md.Body.Statements[0].Kind());
6873
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, md.Body.Statements[0].Kind());
6926
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, subitem1.Body.Statements[0].Kind());
Parsing\PatternParsingTests.cs (17)
332
N(SyntaxKind.
LocalDeclarationStatement
);
449
N(SyntaxKind.
LocalDeclarationStatement
);
506
N(SyntaxKind.
LocalDeclarationStatement
);
2778
N(SyntaxKind.
LocalDeclarationStatement
);
4338
N(SyntaxKind.
LocalDeclarationStatement
);
4448
N(SyntaxKind.
LocalDeclarationStatement
);
4554
N(SyntaxKind.
LocalDeclarationStatement
);
4622
N(SyntaxKind.
LocalDeclarationStatement
);
4686
N(SyntaxKind.
LocalDeclarationStatement
);
4773
N(SyntaxKind.
LocalDeclarationStatement
);
4856
N(SyntaxKind.
LocalDeclarationStatement
);
4901
N(SyntaxKind.
LocalDeclarationStatement
);
5007
N(SyntaxKind.
LocalDeclarationStatement
);
5109
N(SyntaxKind.
LocalDeclarationStatement
);
5173
N(SyntaxKind.
LocalDeclarationStatement
);
5233
N(SyntaxKind.
LocalDeclarationStatement
);
5316
N(SyntaxKind.
LocalDeclarationStatement
);
Parsing\RecordParsing.cs (11)
284
N(SyntaxKind.
LocalDeclarationStatement
);
1292
N(SyntaxKind.
LocalDeclarationStatement
);
1325
N(SyntaxKind.
LocalDeclarationStatement
);
1397
N(SyntaxKind.
LocalDeclarationStatement
);
1718
N(SyntaxKind.
LocalDeclarationStatement
);
1757
N(SyntaxKind.
LocalDeclarationStatement
);
1933
N(SyntaxKind.
LocalDeclarationStatement
);
2772
N(SyntaxKind.
LocalDeclarationStatement
);
2967
N(SyntaxKind.
LocalDeclarationStatement
);
3893
N(SyntaxKind.
LocalDeclarationStatement
);
3958
N(SyntaxKind.
LocalDeclarationStatement
);
Parsing\StatementAttributeParsingTests.cs (12)
2019
N(SyntaxKind.
LocalDeclarationStatement
);
4208
N(SyntaxKind.
LocalDeclarationStatement
);
6401
N(SyntaxKind.
LocalDeclarationStatement
);
6480
N(SyntaxKind.
LocalDeclarationStatement
);
6567
N(SyntaxKind.
LocalDeclarationStatement
);
6672
N(SyntaxKind.
LocalDeclarationStatement
);
6811
N(SyntaxKind.
LocalDeclarationStatement
);
6991
N(SyntaxKind.
LocalDeclarationStatement
);
7074
N(SyntaxKind.
LocalDeclarationStatement
);
7181
N(SyntaxKind.
LocalDeclarationStatement
);
7282
N(SyntaxKind.
LocalDeclarationStatement
);
7391
N(SyntaxKind.
LocalDeclarationStatement
);
Parsing\StatementParsingTests.cs (50)
188
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, statement.Kind());
216
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, statement.Kind());
246
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, statement.Kind());
280
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, statement.Kind());
321
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, statement.Kind());
349
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, statement.Kind());
375
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, statement.Kind());
401
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, statement.Kind());
427
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, statement.Kind());
453
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, statement.Kind());
479
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, statement.Kind());
505
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, statement.Kind());
540
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, statement.Kind());
570
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, statement.Kind());
615
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, statement.Kind());
646
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, statement.Kind());
677
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, statement.Kind());
709
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, statement.Kind());
741
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, statement.Kind());
773
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, statement.Kind());
799
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, statement.Kind());
830
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, statement.Kind());
2396
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, statement.Kind());
2422
N(SyntaxKind.
LocalDeclarationStatement
);
2491
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, statement.Kind());
2526
N(SyntaxKind.
LocalDeclarationStatement
);
2559
N(SyntaxKind.
LocalDeclarationStatement
);
2589
N(SyntaxKind.
LocalDeclarationStatement
);
2623
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, statement.Kind());
2652
N(SyntaxKind.
LocalDeclarationStatement
);
2720
N(SyntaxKind.
LocalDeclarationStatement
);
2839
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, statement.Kind());
2874
N(SyntaxKind.
LocalDeclarationStatement
);
2942
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, statement.Kind());
2957
N(SyntaxKind.
LocalDeclarationStatement
);
3025
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, statement.Kind());
3040
N(SyntaxKind.
LocalDeclarationStatement
);
3097
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, statement.Kind());
3112
N(SyntaxKind.
LocalDeclarationStatement
);
3143
N(SyntaxKind.
LocalDeclarationStatement
);
3181
N(SyntaxKind.
LocalDeclarationStatement
);
3220
N(SyntaxKind.
LocalDeclarationStatement
);
3258
N(SyntaxKind.
LocalDeclarationStatement
);
3295
N(SyntaxKind.
LocalDeclarationStatement
);
3345
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, statement.Kind());
4183
N(SyntaxKind.
LocalDeclarationStatement
);
4221
N(SyntaxKind.
LocalDeclarationStatement
);
4473
N(SyntaxKind.
LocalDeclarationStatement
);
5847
N(SyntaxKind.
LocalDeclarationStatement
);
5941
N(SyntaxKind.
LocalDeclarationStatement
);
Parsing\SwitchExpressionParsingTests.cs (3)
324
N(SyntaxKind.
LocalDeclarationStatement
);
2575
N(SyntaxKind.
LocalDeclarationStatement
);
2668
N(SyntaxKind.
LocalDeclarationStatement
);
Parsing\TopLevelStatementsParsingTests.cs (31)
141
N(SyntaxKind.
LocalDeclarationStatement
);
166
N(SyntaxKind.
LocalDeclarationStatement
);
417
N(SyntaxKind.
LocalDeclarationStatement
);
829
N(SyntaxKind.
LocalDeclarationStatement
);
944
N(SyntaxKind.
LocalDeclarationStatement
);
1113
N(SyntaxKind.
LocalDeclarationStatement
);
1168
N(SyntaxKind.
LocalDeclarationStatement
);
1500
N(SyntaxKind.
LocalDeclarationStatement
);
1726
N(SyntaxKind.
LocalDeclarationStatement
);
1832
N(SyntaxKind.
LocalDeclarationStatement
);
1886
N(SyntaxKind.
LocalDeclarationStatement
);
1930
N(SyntaxKind.
LocalDeclarationStatement
);
1977
N(SyntaxKind.
LocalDeclarationStatement
);
2018
N(SyntaxKind.
LocalDeclarationStatement
);
2065
N(SyntaxKind.
LocalDeclarationStatement
);
2250
N(SyntaxKind.
LocalDeclarationStatement
);
2269
N(SyntaxKind.
LocalDeclarationStatement
);
2325
N(SyntaxKind.
LocalDeclarationStatement
);
2385
N(SyntaxKind.
LocalDeclarationStatement
);
2456
N(SyntaxKind.
LocalDeclarationStatement
);
2730
N(SyntaxKind.
LocalDeclarationStatement
);
2798
N(SyntaxKind.
LocalDeclarationStatement
);
2840
N(SyntaxKind.
LocalDeclarationStatement
);
3078
N(SyntaxKind.
LocalDeclarationStatement
);
3230
N(SyntaxKind.
LocalDeclarationStatement
);
3392
N(SyntaxKind.
LocalDeclarationStatement
);
3410
N(SyntaxKind.
LocalDeclarationStatement
);
3461
N(SyntaxKind.
LocalDeclarationStatement
);
3479
N(SyntaxKind.
LocalDeclarationStatement
);
3523
N(SyntaxKind.
LocalDeclarationStatement
);
3581
M(SyntaxKind.
LocalDeclarationStatement
);
Parsing\TypeArgumentListParsingTests.cs (23)
61
N(SyntaxKind.
LocalDeclarationStatement
);
177
N(SyntaxKind.
LocalDeclarationStatement
);
305
N(SyntaxKind.
LocalDeclarationStatement
);
438
N(SyntaxKind.
LocalDeclarationStatement
);
586
N(SyntaxKind.
LocalDeclarationStatement
);
733
N(SyntaxKind.
LocalDeclarationStatement
);
765
N(SyntaxKind.
LocalDeclarationStatement
);
801
N(SyntaxKind.
LocalDeclarationStatement
);
1046
N(SyntaxKind.
LocalDeclarationStatement
);
1185
N(SyntaxKind.
LocalDeclarationStatement
);
1327
N(SyntaxKind.
LocalDeclarationStatement
);
1460
N(SyntaxKind.
LocalDeclarationStatement
);
1580
N(SyntaxKind.
LocalDeclarationStatement
);
1684
N(SyntaxKind.
LocalDeclarationStatement
);
1785
N(SyntaxKind.
LocalDeclarationStatement
);
1907
N(SyntaxKind.
LocalDeclarationStatement
);
2040
N(SyntaxKind.
LocalDeclarationStatement
);
2174
N(SyntaxKind.
LocalDeclarationStatement
);
2305
N(SyntaxKind.
LocalDeclarationStatement
);
2406
N(SyntaxKind.
LocalDeclarationStatement
);
2515
N(SyntaxKind.
LocalDeclarationStatement
);
2617
N(SyntaxKind.
LocalDeclarationStatement
);
2735
N(SyntaxKind.
LocalDeclarationStatement
);
Parsing\UsingDirectiveParsingTests.cs (10)
77
N(SyntaxKind.
LocalDeclarationStatement
);
116
N(SyntaxKind.
LocalDeclarationStatement
);
172
N(SyntaxKind.
LocalDeclarationStatement
);
207
N(SyntaxKind.
LocalDeclarationStatement
);
279
N(SyntaxKind.
LocalDeclarationStatement
);
409
N(SyntaxKind.
LocalDeclarationStatement
);
469
N(SyntaxKind.
LocalDeclarationStatement
);
508
N(SyntaxKind.
LocalDeclarationStatement
);
3438
N(SyntaxKind.
LocalDeclarationStatement
);
3495
N(SyntaxKind.
LocalDeclarationStatement
);
Microsoft.CodeAnalysis.CSharp.Workspaces (21)
CodeGeneration\CSharpSyntaxGenerator.cs (11)
1282
case SyntaxKind.
LocalDeclarationStatement
:
1329
SyntaxKind.
LocalDeclarationStatement
=> ((LocalDeclarationStatementSyntax)declaration).Declaration.Variables.Count,
1600
case SyntaxKind.
LocalDeclarationStatement
:
1982
case SyntaxKind.
LocalDeclarationStatement
:
2015
SyntaxKind.
LocalDeclarationStatement
=> ((LocalDeclarationStatementSyntax)declaration).WithDeclaration(((LocalDeclarationStatementSyntax)declaration).Declaration.WithType((TypeSyntax)type)),
2075
SyntaxKind.
LocalDeclarationStatement
=> ((LocalDeclarationStatementSyntax)declaration).Declaration,
2084
SyntaxKind.
LocalDeclarationStatement
=> ((LocalDeclarationStatementSyntax)declaration).WithDeclaration(variables),
2413
case SyntaxKind.
LocalDeclarationStatement
:
2453
case SyntaxKind.
LocalDeclarationStatement
:
2828
case SyntaxKind.
LocalDeclarationStatement
:
2977
SyntaxKind.
LocalDeclarationStatement
=> ((LocalDeclarationStatementSyntax)declaration).Declaration.Variables,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\SpacingFormattingRule.cs (1)
580
or SyntaxKind.
LocalDeclarationStatement
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpAccessibilityFacts.cs (2)
227
case SyntaxKind.
LocalDeclarationStatement
:
329
=> node?.Parent.IsKind(SyntaxKind.
LocalDeclarationStatement
) ?? false;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxKinds.cs (1)
145
public int LocalDeclarationStatement => (int)SyntaxKind.
LocalDeclarationStatement
;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\TypeStyle\CSharpTypeStyleHelper.cs (1)
107
SyntaxKind.
LocalDeclarationStatement
or
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\TypeStyle\CSharpUseExplicitTypeHelper.cs (1)
86
typeName.Parent.Parent is (kind: SyntaxKind.
LocalDeclarationStatement
or SyntaxKind.ForStatement or SyntaxKind.UsingStatement))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\TypeStyle\CSharpUseImplicitTypeHelper.cs (1)
108
SyntaxKind.
LocalDeclarationStatement
or
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (3)
1786
token.Parent.IsKind(SyntaxKind.
LocalDeclarationStatement
))
1798
if (parent is (kind: SyntaxKind.RefType or SyntaxKind.RefExpression or SyntaxKind.
LocalDeclarationStatement
))
1802
SyntaxKind.
LocalDeclarationStatement
or
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (3)
Diagnostics\DiagnosticServiceTests.vb (3)
2478
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, analyzedSyntaxNode.Kind)
2530
context.RegisterSyntaxNodeAction(Sub(syntaxNodeContext) AnalyzedSyntaxNodes.Add(syntaxNodeContext.Node), SyntaxKind.
LocalDeclarationStatement
)
2534
codeBlockStartContext.RegisterSyntaxNodeAction(Sub(syntaxNodeContext) AnalyzedSyntaxNodesInsideCodeBlock.Add(syntaxNodeContext.Node), SyntaxKind.
LocalDeclarationStatement
)
Microsoft.CodeAnalysis.Test.Utilities (6)
Diagnostics\CommonDiagnosticAnalyzers.cs (6)
2763
SyntaxKind.
LocalDeclarationStatement
);
2796
SyntaxKind.
LocalDeclarationStatement
);
2809
SyntaxKind.
LocalDeclarationStatement
);
3018
context.RegisterSyntaxNodeAction(syntaxNodeContext => AnalyzedSyntaxNodes.Add(syntaxNodeContext.Node), SyntaxKind.
LocalDeclarationStatement
);
3052
codeBlockStartContext.RegisterSyntaxNodeAction(syntaxNodeContext => AnalyzedSyntaxNodesInsideCodeBlock.Add(syntaxNodeContext.Node), SyntaxKind.
LocalDeclarationStatement
);
3189
}, SyntaxKind.
LocalDeclarationStatement
);
Microsoft.ML.InternalCodeAnalyzer (1)
ParameterVariableNameAnalyzer.cs (1)
38
context.RegisterSyntaxNodeAction(AnalyzeLocal, SyntaxKind.
LocalDeclarationStatement
);
Microsoft.VisualStudio.LanguageServices.CSharp (1)
CodeModel\MethodXml\MethodXmlBuilder.cs (1)
66
case SyntaxKind.
LocalDeclarationStatement
: