540 references to LocalDeclarationStatement
Microsoft.CodeAnalysis.CSharp (20)
Binder\Binder_Expressions.cs (1)
3941
variableDeclaration.Parent.IsKind(SyntaxKind.
LocalDeclarationStatement
) ||
Binder\Binder_Statements.cs (3)
65
case SyntaxKind.
LocalDeclarationStatement
:
322
case SyntaxKind.
LocalDeclarationStatement
:
831
if (declarationNode.Parent.Kind() == SyntaxKind.
LocalDeclarationStatement
&&
Binder\LocalBinderFactory.cs (1)
945
case SyntaxKind.
LocalDeclarationStatement
:
Binder\LocalScopeBinder.cs (1)
183
case SyntaxKind.
LocalDeclarationStatement
:
Binder\UsingStatementBinder.cs (1)
92
bool isUsingDeclaration = syntax.Kind() == SyntaxKind.
LocalDeclarationStatement
;
Compilation\MemberSemanticModel.cs (1)
2211
if (grandparent != null && grandparent.Kind() == SyntaxKind.
LocalDeclarationStatement
&&
Lowering\Instrumentation\DebugInfoInjector_SequencePoints.cs (1)
124
case SyntaxKind.
LocalDeclarationStatement
:
Lowering\Instrumentation\Instrumenter.cs (1)
214
(original.Syntax.Kind() == SyntaxKind.
LocalDeclarationStatement
&&
Lowering\LocalRewriter\LocalRewriter_LocalDeclaration.cs (1)
78
(originalOpt.Syntax.Kind() == SyntaxKind.
LocalDeclarationStatement
&&
Operations\CSharpOperationFactory.cs (2)
1997
case SyntaxKind.
LocalDeclarationStatement
:
2045
SyntaxNode declarationSyntax = declarationGroupSyntax.IsKind(SyntaxKind.
LocalDeclarationStatement
) ?
Parser\LanguageParser.cs (3)
2555
case SyntaxKind.
LocalDeclarationStatement
:
4855
if (parent != null && (parent.Kind() == SyntaxKind.VariableDeclaration || parent.Kind() == SyntaxKind.
LocalDeclarationStatement
))
4876
&& oldKind != SyntaxKind.
LocalDeclarationStatement
;
Symbols\Source\SourceLocalSymbol.cs (1)
175
new[] { SyntaxKind.
LocalDeclarationStatement
, SyntaxKind.ForStatement, SyntaxKind.UsingStatement, SyntaxKind.FixedStatement }.
Symbols\Source\SourceMemberContainerSymbol.cs (1)
4932
case SyntaxKind.
LocalDeclarationStatement
:
Syntax\LookupPosition.cs (2)
325
case SyntaxKind.
LocalDeclarationStatement
:
386
case SyntaxKind.
LocalDeclarationStatement
:
Microsoft.CodeAnalysis.CSharp.CodeStyle (13)
CSharpAccessibilityFacts.cs (2)
227
case SyntaxKind.
LocalDeclarationStatement
:
329
=> node?.Parent.IsKind(SyntaxKind.
LocalDeclarationStatement
) ?? false;
CSharpAsAndNullCheckDiagnosticAnalyzer.Analyzer.cs (1)
39
Debug.Assert(localStatement.IsKind(SyntaxKind.
LocalDeclarationStatement
));
CSharpIsAndCastCheckDiagnosticAnalyzer.cs (1)
176
if (!firstStatement.IsKind(SyntaxKind.
LocalDeclarationStatement
, out localDeclarationStatement))
CSharpSyntaxKinds.cs (1)
132
public int LocalDeclarationStatement => (int)SyntaxKind.
LocalDeclarationStatement
;
CSharpTypeStyleHelper.cs (1)
106
SyntaxKind.
LocalDeclarationStatement
or
CSharpUseExplicitTypeHelper.cs (1)
86
typeName.Parent.Parent is (kind: SyntaxKind.
LocalDeclarationStatement
or SyntaxKind.ForStatement or SyntaxKind.UsingStatement))
CSharpUseImplicitTypeHelper.cs (1)
108
SyntaxKind.
LocalDeclarationStatement
or
CSharpUseLocalFunctionDiagnosticAnalyzer.cs (3)
189
anonymousFunction.Parent.Parent.Parent.IsParentKind(SyntaxKind.
LocalDeclarationStatement
, out localDeclaration))
291
if (containingStatement.IsKind(SyntaxKind.
LocalDeclarationStatement
, out localDeclaration) &&
328
if (previousStatement.IsKind(SyntaxKind.
LocalDeclarationStatement
, out localDeclaration) &&
CSharpUseTupleSwapDiagnosticAnalyzer.cs (1)
58
SyntaxKind.
LocalDeclarationStatement
);
SpacingFormattingRule.cs (1)
577
node.IsKind(SyntaxKind.EventFieldDeclaration) || node.IsKind(SyntaxKind.
LocalDeclarationStatement
) ||
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (3)
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs\SyntaxTreeExtensions.cs (3)
1770
token.Parent.IsKind(SyntaxKind.
LocalDeclarationStatement
))
1782
if (parent is (kind: SyntaxKind.RefType or SyntaxKind.RefExpression or SyntaxKind.
LocalDeclarationStatement
))
1786
SyntaxKind.
LocalDeclarationStatement
or
Microsoft.CodeAnalysis.CSharp.EditorFeatures (1)
CompleteStatement\CompleteStatementCommandHandler.cs (1)
339
case SyntaxKind.
LocalDeclarationStatement
:
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (3)
Diagnostics\GetDiagnosticsTests.cs (2)
1248
AssertEx.All(analyzer.AnalyzedSyntaxNodes, node => node.IsKind(SyntaxKind.
LocalDeclarationStatement
));
1252
AssertEx.All(analyzer.AnalyzedSyntaxNodesInsideCodeBlock, node => node.IsKind(SyntaxKind.
LocalDeclarationStatement
));
Semantics\PatternMatchingTestBase.cs (1)
292
var inFieldDeclaratorArgumentlist = declarator != null && declarator.Parent.Parent.Kind() != SyntaxKind.
LocalDeclarationStatement
&&
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ExpressionCompiler (1)
EvaluationContext.cs (1)
335
if (statementSyntax.IsKind(SyntaxKind.
LocalDeclarationStatement
))
Microsoft.CodeAnalysis.CSharp.Features (18)
CodeLens\CSharpCodeLensDisplayInfoService.cs (1)
40
case SyntaxKind.
LocalDeclarationStatement
:
ConvertLinq\ConvertForEachToLinqQuery\AbstractToMethodConverter.cs (2)
65
case SyntaxKind.
LocalDeclarationStatement
:
156
case SyntaxKind.
LocalDeclarationStatement
:
ConvertLinq\ConvertForEachToLinqQuery\CSharpConvertForEachToLinqQueryProvider.cs (1)
127
case SyntaxKind.
LocalDeclarationStatement
:
ConvertLinq\CSharpConvertLinqQueryToForEachProvider.cs (1)
471
SyntaxKind.
LocalDeclarationStatement
&&
CSharpAsAndNullCheckDiagnosticAnalyzer.Analyzer.cs (1)
39
Debug.Assert(localStatement.IsKind(SyntaxKind.
LocalDeclarationStatement
));
CSharpIsAndCastCheckDiagnosticAnalyzer.cs (1)
176
if (!firstStatement.IsKind(SyntaxKind.
LocalDeclarationStatement
, out localDeclarationStatement))
CSharpUseLocalFunctionDiagnosticAnalyzer.cs (3)
189
anonymousFunction.Parent.Parent.Parent.IsParentKind(SyntaxKind.
LocalDeclarationStatement
, out localDeclaration))
291
if (containingStatement.IsKind(SyntaxKind.
LocalDeclarationStatement
, out localDeclaration) &&
328
if (previousStatement.IsKind(SyntaxKind.
LocalDeclarationStatement
, out localDeclaration) &&
CSharpUseTupleSwapDiagnosticAnalyzer.cs (1)
58
SyntaxKind.
LocalDeclarationStatement
);
Debugging\CSharpProximityExpressionsService.Worker.cs (1)
198
case SyntaxKind.
LocalDeclarationStatement
:
EditAndContinue\BreakpointSpans.cs (2)
408
case SyntaxKind.
LocalDeclarationStatement
:
595
SyntaxKind.
LocalDeclarationStatement
or SyntaxKind.EventFieldDeclaration or SyntaxKind.FieldDeclaration => null,
EditAndContinue\CSharpEditAndContinueAnalyzer.cs (3)
1823
case SyntaxKind.
LocalDeclarationStatement
:
2207
case SyntaxKind.
LocalDeclarationStatement
:
2856
case SyntaxKind.
LocalDeclarationStatement
:
EditAndContinue\SyntaxComparer.cs (1)
331
case SyntaxKind.
LocalDeclarationStatement
:
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\OutVarTests.cs (2)
1191
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, parent1.Kind());
32697
var inFieldDeclaratorArgumentlist = declarator != null && declarator.Parent.Parent.Kind() != SyntaxKind.
LocalDeclarationStatement
&&
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (3)
SymbolDisplay\SymbolDisplayTests.cs (2)
8091
var declaration = (LocalDeclarationStatementSyntax)semanticModel.SyntaxTree.GetRoot().DescendantNodes().Single(n => n.Kind() == SyntaxKind.
LocalDeclarationStatement
);
8142
var declaration = (LocalDeclarationStatementSyntax)semanticModel.SyntaxTree.GetRoot().DescendantNodes().Single(n => n.Kind() == SyntaxKind.
LocalDeclarationStatement
);
Symbols\TypeTests.cs (1)
1760
var node1 = (LocalDeclarationStatementSyntax)tree.FindNodeOrTokenByKind(SyntaxKind.
LocalDeclarationStatement
, 3);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (452)
IncrementalParsing\IncrementalParsingTests.cs (1)
444
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
);
2068
N(SyntaxKind.
LocalDeclarationStatement
);
2146
N(SyntaxKind.
LocalDeclarationStatement
);
2232
N(SyntaxKind.
LocalDeclarationStatement
);
2525
N(SyntaxKind.
LocalDeclarationStatement
);
2673
N(SyntaxKind.
LocalDeclarationStatement
);
2821
N(SyntaxKind.
LocalDeclarationStatement
);
2947
N(SyntaxKind.
LocalDeclarationStatement
);
3083
N(SyntaxKind.
LocalDeclarationStatement
);
3206
N(SyntaxKind.
LocalDeclarationStatement
);
3346
N(SyntaxKind.
LocalDeclarationStatement
);
3499
N(SyntaxKind.
LocalDeclarationStatement
);
3652
N(SyntaxKind.
LocalDeclarationStatement
);
3801
N(SyntaxKind.
LocalDeclarationStatement
);
3946
N(SyntaxKind.
LocalDeclarationStatement
);
4078
N(SyntaxKind.
LocalDeclarationStatement
);
4227
N(SyntaxKind.
LocalDeclarationStatement
);
4389
N(SyntaxKind.
LocalDeclarationStatement
);
4551
N(SyntaxKind.
LocalDeclarationStatement
);
Parsing\AsyncStreamsParsingTests.cs (1)
228
N(SyntaxKind.
LocalDeclarationStatement
);
Parsing\AwaitParsingTests.cs (9)
294
N(SyntaxKind.
LocalDeclarationStatement
);
364
N(SyntaxKind.
LocalDeclarationStatement
);
970
N(SyntaxKind.
LocalDeclarationStatement
);
1030
N(SyntaxKind.
LocalDeclarationStatement
);
1076
N(SyntaxKind.
LocalDeclarationStatement
);
1720
N(SyntaxKind.
LocalDeclarationStatement
);
1805
N(SyntaxKind.
LocalDeclarationStatement
);
1852
N(SyntaxKind.
LocalDeclarationStatement
);
1964
N(SyntaxKind.
LocalDeclarationStatement
);
Parsing\DeclarationExpressionTests.cs (2)
241
N(SyntaxKind.
LocalDeclarationStatement
);
304
N(SyntaxKind.
LocalDeclarationStatement
);
Parsing\DeclarationParsingTests.cs (2)
8401
N(SyntaxKind.
LocalDeclarationStatement
);
8713
N(SyntaxKind.
LocalDeclarationStatement
);
Parsing\DeclarationScopeParsingTests.cs (90)
1457
N(SyntaxKind.
LocalDeclarationStatement
);
1472
N(SyntaxKind.
LocalDeclarationStatement
);
1491
N(SyntaxKind.
LocalDeclarationStatement
);
1511
N(SyntaxKind.
LocalDeclarationStatement
);
1587
N(SyntaxKind.
LocalDeclarationStatement
);
1658
N(SyntaxKind.
LocalDeclarationStatement
);
1677
N(SyntaxKind.
LocalDeclarationStatement
);
1700
N(SyntaxKind.
LocalDeclarationStatement
);
1787
N(SyntaxKind.
LocalDeclarationStatement
);
1806
N(SyntaxKind.
LocalDeclarationStatement
);
1821
N(SyntaxKind.
LocalDeclarationStatement
);
1841
N(SyntaxKind.
LocalDeclarationStatement
);
1881
N(SyntaxKind.
LocalDeclarationStatement
);
1903
N(SyntaxKind.
LocalDeclarationStatement
);
1961
N(SyntaxKind.
LocalDeclarationStatement
);
1996
N(SyntaxKind.
LocalDeclarationStatement
);
2048
N(SyntaxKind.
LocalDeclarationStatement
);
2071
N(SyntaxKind.
LocalDeclarationStatement
);
2116
N(SyntaxKind.
LocalDeclarationStatement
);
2134
N(SyntaxKind.
LocalDeclarationStatement
);
2223
N(SyntaxKind.
LocalDeclarationStatement
);
2249
N(SyntaxKind.
LocalDeclarationStatement
);
2279
N(SyntaxKind.
LocalDeclarationStatement
);
2329
N(SyntaxKind.
LocalDeclarationStatement
);
2355
N(SyntaxKind.
LocalDeclarationStatement
);
2385
N(SyntaxKind.
LocalDeclarationStatement
);
2435
N(SyntaxKind.
LocalDeclarationStatement
);
2457
N(SyntaxKind.
LocalDeclarationStatement
);
2483
N(SyntaxKind.
LocalDeclarationStatement
);
2527
N(SyntaxKind.
LocalDeclarationStatement
);
2582
N(SyntaxKind.
LocalDeclarationStatement
);
2604
N(SyntaxKind.
LocalDeclarationStatement
);
2645
N(SyntaxKind.
LocalDeclarationStatement
);
2667
N(SyntaxKind.
LocalDeclarationStatement
);
2714
N(SyntaxKind.
LocalDeclarationStatement
);
2753
N(SyntaxKind.
LocalDeclarationStatement
);
2805
N(SyntaxKind.
LocalDeclarationStatement
);
2828
N(SyntaxKind.
LocalDeclarationStatement
);
2873
N(SyntaxKind.
LocalDeclarationStatement
);
2891
N(SyntaxKind.
LocalDeclarationStatement
);
2945
N(SyntaxKind.
LocalDeclarationStatement
);
2986
N(SyntaxKind.
LocalDeclarationStatement
);
3004
N(SyntaxKind.
LocalDeclarationStatement
);
3083
N(SyntaxKind.
LocalDeclarationStatement
);
3133
N(SyntaxKind.
LocalDeclarationStatement
);
3155
N(SyntaxKind.
LocalDeclarationStatement
);
3222
N(SyntaxKind.
LocalDeclarationStatement
);
3237
N(SyntaxKind.
LocalDeclarationStatement
);
3325
N(SyntaxKind.
LocalDeclarationStatement
);
3696
N(SyntaxKind.
LocalDeclarationStatement
);
3801
N(SyntaxKind.
LocalDeclarationStatement
);
3984
N(SyntaxKind.
LocalDeclarationStatement
);
4097
N(SyntaxKind.
LocalDeclarationStatement
);
4267
N(SyntaxKind.
LocalDeclarationStatement
);
4440
N(SyntaxKind.
LocalDeclarationStatement
);
4618
N(SyntaxKind.
LocalDeclarationStatement
);
5449
N(SyntaxKind.
LocalDeclarationStatement
);
5551
N(SyntaxKind.
LocalDeclarationStatement
);
6552
N(SyntaxKind.
LocalDeclarationStatement
);
6650
N(SyntaxKind.
LocalDeclarationStatement
);
7072
N(SyntaxKind.
LocalDeclarationStatement
);
9854
N(SyntaxKind.
LocalDeclarationStatement
);
9906
N(SyntaxKind.
LocalDeclarationStatement
);
10199
N(SyntaxKind.
LocalDeclarationStatement
);
10280
N(SyntaxKind.
LocalDeclarationStatement
);
10599
N(SyntaxKind.
LocalDeclarationStatement
);
11467
N(SyntaxKind.
LocalDeclarationStatement
);
11570
N(SyntaxKind.
LocalDeclarationStatement
);
11969
N(SyntaxKind.
LocalDeclarationStatement
);
12025
N(SyntaxKind.
LocalDeclarationStatement
);
12080
N(SyntaxKind.
LocalDeclarationStatement
);
12099
N(SyntaxKind.
LocalDeclarationStatement
);
12139
N(SyntaxKind.
LocalDeclarationStatement
);
12183
N(SyntaxKind.
LocalDeclarationStatement
);
12240
N(SyntaxKind.
LocalDeclarationStatement
);
12260
N(SyntaxKind.
LocalDeclarationStatement
);
12284
N(SyntaxKind.
LocalDeclarationStatement
);
12325
N(SyntaxKind.
LocalDeclarationStatement
);
12370
N(SyntaxKind.
LocalDeclarationStatement
);
12422
N(SyntaxKind.
LocalDeclarationStatement
);
12466
N(SyntaxKind.
LocalDeclarationStatement
);
12626
N(SyntaxKind.
LocalDeclarationStatement
);
12816
N(SyntaxKind.
LocalDeclarationStatement
);
12894
N(SyntaxKind.
LocalDeclarationStatement
);
13004
N(SyntaxKind.
LocalDeclarationStatement
);
13117
N(SyntaxKind.
LocalDeclarationStatement
);
13235
N(SyntaxKind.
LocalDeclarationStatement
);
13842
N(SyntaxKind.
LocalDeclarationStatement
);
15227
N(SyntaxKind.
LocalDeclarationStatement
);
15314
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\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
);
5415
N(SyntaxKind.
LocalDeclarationStatement
);
Parsing\LambdaReturnTypeParsingTests.cs (2)
2698
N(SyntaxKind.
LocalDeclarationStatement
);
2759
N(SyntaxKind.
LocalDeclarationStatement
);
Parsing\LocalFunctionParsingTests.cs (4)
885
N(SyntaxKind.
LocalDeclarationStatement
);
940
N(SyntaxKind.
LocalDeclarationStatement
);
1020
N(SyntaxKind.
LocalDeclarationStatement
);
2602
N(SyntaxKind.
LocalDeclarationStatement
);
Parsing\MemberDeclarationParsingTests.cs (2)
2277
N(SyntaxKind.
LocalDeclarationStatement
);
8659
N(SyntaxKind.
LocalDeclarationStatement
);
Parsing\NullableParsingTests.cs (1)
1090
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 (63)
2883
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
2906
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
2930
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
2954
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
2976
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
2999
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
3022
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
3045
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
3068
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
3091
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
3112
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
3133
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
3154
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
3175
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
3196
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
3217
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
4423
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
4449
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
4476
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
4503
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
4531
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
4558
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
4585
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
4614
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
4643
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
4673
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
4702
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
4731
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
4758
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
4785
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
4812
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
4840
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
4867
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
4895
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
4921
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
4948
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
4975
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
5003
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
5030
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
5060
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
5089
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
5118
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
5148
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
5177
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
5211
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
5238
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
5265
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
5292
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
5320
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
5347
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
5377
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
5408
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
5436
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
5483
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
5517
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
5547
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, ms.Body.Statements[0].Kind());
5835
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, md.Body.Statements[0].Kind());
5880
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, md.Body.Statements[0].Kind());
5924
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, md.Body.Statements[0].Kind());
5974
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, md.Body.Statements[0].Kind());
6022
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, md.Body.Statements[0].Kind());
6069
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, md.Body.Statements[0].Kind());
6122
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, subitem1.Body.Statements[0].Kind());
Parsing\PatternParsingTests.cs (16)
332
N(SyntaxKind.
LocalDeclarationStatement
);
449
N(SyntaxKind.
LocalDeclarationStatement
);
506
N(SyntaxKind.
LocalDeclarationStatement
);
4377
N(SyntaxKind.
LocalDeclarationStatement
);
4487
N(SyntaxKind.
LocalDeclarationStatement
);
4593
N(SyntaxKind.
LocalDeclarationStatement
);
4661
N(SyntaxKind.
LocalDeclarationStatement
);
4725
N(SyntaxKind.
LocalDeclarationStatement
);
4812
N(SyntaxKind.
LocalDeclarationStatement
);
4895
N(SyntaxKind.
LocalDeclarationStatement
);
4940
N(SyntaxKind.
LocalDeclarationStatement
);
5046
N(SyntaxKind.
LocalDeclarationStatement
);
5148
N(SyntaxKind.
LocalDeclarationStatement
);
5212
N(SyntaxKind.
LocalDeclarationStatement
);
5272
N(SyntaxKind.
LocalDeclarationStatement
);
5355
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
);
2622
N(SyntaxKind.
LocalDeclarationStatement
);
2817
N(SyntaxKind.
LocalDeclarationStatement
);
3743
N(SyntaxKind.
LocalDeclarationStatement
);
3808
N(SyntaxKind.
LocalDeclarationStatement
);
Parsing\StatementAttributeParsingTests.cs (12)
2018
N(SyntaxKind.
LocalDeclarationStatement
);
4207
N(SyntaxKind.
LocalDeclarationStatement
);
6389
N(SyntaxKind.
LocalDeclarationStatement
);
6468
N(SyntaxKind.
LocalDeclarationStatement
);
6555
N(SyntaxKind.
LocalDeclarationStatement
);
6660
N(SyntaxKind.
LocalDeclarationStatement
);
6799
N(SyntaxKind.
LocalDeclarationStatement
);
6979
N(SyntaxKind.
LocalDeclarationStatement
);
7062
N(SyntaxKind.
LocalDeclarationStatement
);
7169
N(SyntaxKind.
LocalDeclarationStatement
);
7270
N(SyntaxKind.
LocalDeclarationStatement
);
7379
N(SyntaxKind.
LocalDeclarationStatement
);
Parsing\StatementParsingTests.cs (47)
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());
2522
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, statement.Kind());
2556
N(SyntaxKind.
LocalDeclarationStatement
);
2586
N(SyntaxKind.
LocalDeclarationStatement
);
2620
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, statement.Kind());
2649
N(SyntaxKind.
LocalDeclarationStatement
);
2717
N(SyntaxKind.
LocalDeclarationStatement
);
2836
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, statement.Kind());
2871
N(SyntaxKind.
LocalDeclarationStatement
);
2939
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, statement.Kind());
2954
N(SyntaxKind.
LocalDeclarationStatement
);
3022
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, statement.Kind());
3037
N(SyntaxKind.
LocalDeclarationStatement
);
3094
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, statement.Kind());
3109
N(SyntaxKind.
LocalDeclarationStatement
);
3140
N(SyntaxKind.
LocalDeclarationStatement
);
3178
N(SyntaxKind.
LocalDeclarationStatement
);
3217
N(SyntaxKind.
LocalDeclarationStatement
);
3255
N(SyntaxKind.
LocalDeclarationStatement
);
3292
N(SyntaxKind.
LocalDeclarationStatement
);
3342
Assert.Equal(SyntaxKind.
LocalDeclarationStatement
, statement.Kind());
4189
N(SyntaxKind.
LocalDeclarationStatement
);
4445
N(SyntaxKind.
LocalDeclarationStatement
);
Parsing\SwitchExpressionParsingTests.cs (3)
323
N(SyntaxKind.
LocalDeclarationStatement
);
858
N(SyntaxKind.
LocalDeclarationStatement
);
951
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
);
1974
N(SyntaxKind.
LocalDeclarationStatement
);
2015
N(SyntaxKind.
LocalDeclarationStatement
);
2062
N(SyntaxKind.
LocalDeclarationStatement
);
2247
N(SyntaxKind.
LocalDeclarationStatement
);
2266
N(SyntaxKind.
LocalDeclarationStatement
);
2322
N(SyntaxKind.
LocalDeclarationStatement
);
2382
N(SyntaxKind.
LocalDeclarationStatement
);
2453
N(SyntaxKind.
LocalDeclarationStatement
);
2727
N(SyntaxKind.
LocalDeclarationStatement
);
2795
N(SyntaxKind.
LocalDeclarationStatement
);
2837
N(SyntaxKind.
LocalDeclarationStatement
);
3075
N(SyntaxKind.
LocalDeclarationStatement
);
3227
N(SyntaxKind.
LocalDeclarationStatement
);
3389
N(SyntaxKind.
LocalDeclarationStatement
);
3407
N(SyntaxKind.
LocalDeclarationStatement
);
3458
N(SyntaxKind.
LocalDeclarationStatement
);
3476
N(SyntaxKind.
LocalDeclarationStatement
);
3527
N(SyntaxKind.
LocalDeclarationStatement
);
3545
N(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
);
282
N(SyntaxKind.
LocalDeclarationStatement
);
419
N(SyntaxKind.
LocalDeclarationStatement
);
479
N(SyntaxKind.
LocalDeclarationStatement
);
518
N(SyntaxKind.
LocalDeclarationStatement
);
3488
N(SyntaxKind.
LocalDeclarationStatement
);
3545
N(SyntaxKind.
LocalDeclarationStatement
);
Microsoft.CodeAnalysis.CSharp.Workspaces (21)
CodeGeneration\CSharpSyntaxGenerator.cs (11)
1269
case SyntaxKind.
LocalDeclarationStatement
:
1316
SyntaxKind.
LocalDeclarationStatement
=> ((LocalDeclarationStatementSyntax)declaration).Declaration.Variables.Count,
1594
case SyntaxKind.
LocalDeclarationStatement
:
1967
case SyntaxKind.
LocalDeclarationStatement
:
2000
SyntaxKind.
LocalDeclarationStatement
=> ((LocalDeclarationStatementSyntax)declaration).WithDeclaration(((LocalDeclarationStatementSyntax)declaration).Declaration.WithType((TypeSyntax)type)),
2060
SyntaxKind.
LocalDeclarationStatement
=> ((LocalDeclarationStatementSyntax)declaration).Declaration,
2069
SyntaxKind.
LocalDeclarationStatement
=> ((LocalDeclarationStatementSyntax)declaration).WithDeclaration(variables),
2398
case SyntaxKind.
LocalDeclarationStatement
:
2438
case SyntaxKind.
LocalDeclarationStatement
:
2828
case SyntaxKind.
LocalDeclarationStatement
:
2975
SyntaxKind.
LocalDeclarationStatement
=> ((LocalDeclarationStatementSyntax)declaration).Declaration.Variables,
CSharpAccessibilityFacts.cs (2)
227
case SyntaxKind.
LocalDeclarationStatement
:
329
=> node?.Parent.IsKind(SyntaxKind.
LocalDeclarationStatement
) ?? false;
CSharpSyntaxKinds.cs (1)
132
public int LocalDeclarationStatement => (int)SyntaxKind.
LocalDeclarationStatement
;
CSharpTypeStyleHelper.cs (1)
106
SyntaxKind.
LocalDeclarationStatement
or
CSharpUseExplicitTypeHelper.cs (1)
86
typeName.Parent.Parent is (kind: SyntaxKind.
LocalDeclarationStatement
or SyntaxKind.ForStatement or SyntaxKind.UsingStatement))
CSharpUseImplicitTypeHelper.cs (1)
108
SyntaxKind.
LocalDeclarationStatement
or
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs\SyntaxTreeExtensions.cs (3)
1770
token.Parent.IsKind(SyntaxKind.
LocalDeclarationStatement
))
1782
if (parent is (kind: SyntaxKind.RefType or SyntaxKind.RefExpression or SyntaxKind.
LocalDeclarationStatement
))
1786
SyntaxKind.
LocalDeclarationStatement
or
SpacingFormattingRule.cs (1)
577
node.IsKind(SyntaxKind.EventFieldDeclaration) || node.IsKind(SyntaxKind.
LocalDeclarationStatement
) ||
Microsoft.CodeAnalysis.Test.Utilities (2)
Diagnostics\CommonDiagnosticAnalyzers.cs (2)
2692
context.RegisterSyntaxNodeAction(syntaxNodeContext => AnalyzedSyntaxNodes.Add(syntaxNodeContext.Node), SyntaxKind.
LocalDeclarationStatement
);
2726
codeBlockStartContext.RegisterSyntaxNodeAction(syntaxNodeContext => AnalyzedSyntaxNodesInsideCodeBlock.Add(syntaxNodeContext.Node), SyntaxKind.
LocalDeclarationStatement
);
Microsoft.VisualStudio.LanguageServices.CSharp (1)
CodeModel\MethodXml\MethodXmlBuilder.cs (1)
66
case SyntaxKind.
LocalDeclarationStatement
: