114 references to EmptyStatement
Microsoft.CodeAnalysis.CSharp (6)
Binder\Binder_Statements.cs (2)
117
case SyntaxKind.
EmptyStatement
:
357
case SyntaxKind.
EmptyStatement
:
Declarations\DeclarationTreeBuilder.cs (1)
161
if (!topLevelStatement.IsKind(SyntaxKind.
EmptyStatement
))
Syntax\LookupPosition.cs (3)
266
if (statement.Kind() == SyntaxKind.
EmptyStatement
)
329
case SyntaxKind.
EmptyStatement
:
390
case SyntaxKind.
EmptyStatement
:
Microsoft.CodeAnalysis.CSharp.Features (4)
ConvertLinq\ConvertForEachToLinqQuery\CSharpConvertForEachToLinqQueryProvider.cs (1)
142
case SyntaxKind.
EmptyStatement
:
EditAndContinue\BreakpointSpans.cs (1)
759
case SyntaxKind.
EmptyStatement
:
EditAndContinue\SyntaxComparer.cs (1)
341
case SyntaxKind.
EmptyStatement
:
InvertIf\CSharpInvertIfCodeRefactoringProvider.cs (1)
49
=> node.Kind() is SyntaxKind.Block or SyntaxKind.
EmptyStatement
;
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (98)
IncrementalParsing\IncrementalParsingTests.cs (2)
445
SyntaxKind.
EmptyStatement
,
467
SyntaxKind.
EmptyStatement
,
Parsing\DeclarationParsingTests.cs (1)
9489
N(SyntaxKind.
EmptyStatement
);
Parsing\DeclarationScopeParsingTests.cs (66)
8378
N(SyntaxKind.
EmptyStatement
);
8419
N(SyntaxKind.
EmptyStatement
);
8467
N(SyntaxKind.
EmptyStatement
);
8512
N(SyntaxKind.
EmptyStatement
);
8554
N(SyntaxKind.
EmptyStatement
);
8603
N(SyntaxKind.
EmptyStatement
);
8651
N(SyntaxKind.
EmptyStatement
);
8692
N(SyntaxKind.
EmptyStatement
);
8742
N(SyntaxKind.
EmptyStatement
);
8787
N(SyntaxKind.
EmptyStatement
);
8844
N(SyntaxKind.
EmptyStatement
);
8890
N(SyntaxKind.
EmptyStatement
);
8961
N(SyntaxKind.
EmptyStatement
);
9002
N(SyntaxKind.
EmptyStatement
);
9047
N(SyntaxKind.
EmptyStatement
);
9093
N(SyntaxKind.
EmptyStatement
);
9138
N(SyntaxKind.
EmptyStatement
);
9179
N(SyntaxKind.
EmptyStatement
);
9228
N(SyntaxKind.
EmptyStatement
);
9269
N(SyntaxKind.
EmptyStatement
);
9314
N(SyntaxKind.
EmptyStatement
);
9361
N(SyntaxKind.
EmptyStatement
);
9398
N(SyntaxKind.
EmptyStatement
);
9439
N(SyntaxKind.
EmptyStatement
);
9480
N(SyntaxKind.
EmptyStatement
);
9525
N(SyntaxKind.
EmptyStatement
);
9678
N(SyntaxKind.
EmptyStatement
);
9716
N(SyntaxKind.
EmptyStatement
);
9818
N(SyntaxKind.
EmptyStatement
);
10003
N(SyntaxKind.
EmptyStatement
);
10101
N(SyntaxKind.
EmptyStatement
);
10207
N(SyntaxKind.
EmptyStatement
);
10315
N(SyntaxKind.
EmptyStatement
);
10357
N(SyntaxKind.
EmptyStatement
);
10400
N(SyntaxKind.
EmptyStatement
);
10442
N(SyntaxKind.
EmptyStatement
);
10480
N(SyntaxKind.
EmptyStatement
);
10518
N(SyntaxKind.
EmptyStatement
);
10560
N(SyntaxKind.
EmptyStatement
);
10603
N(SyntaxKind.
EmptyStatement
);
10637
N(SyntaxKind.
EmptyStatement
);
10675
N(SyntaxKind.
EmptyStatement
);
10945
N(SyntaxKind.
EmptyStatement
);
10999
N(SyntaxKind.
EmptyStatement
);
12194
N(SyntaxKind.
EmptyStatement
);
12240
N(SyntaxKind.
EmptyStatement
);
12367
N(SyntaxKind.
EmptyStatement
);
12413
N(SyntaxKind.
EmptyStatement
);
12592
N(SyntaxKind.
EmptyStatement
);
12694
N(SyntaxKind.
EmptyStatement
);
12801
N(SyntaxKind.
EmptyStatement
);
12904
N(SyntaxKind.
EmptyStatement
);
12954
N(SyntaxKind.
EmptyStatement
);
13005
N(SyntaxKind.
EmptyStatement
);
13055
N(SyntaxKind.
EmptyStatement
);
13101
N(SyntaxKind.
EmptyStatement
);
13155
N(SyntaxKind.
EmptyStatement
);
13201
N(SyntaxKind.
EmptyStatement
);
13251
N(SyntaxKind.
EmptyStatement
);
13302
N(SyntaxKind.
EmptyStatement
);
13344
N(SyntaxKind.
EmptyStatement
);
13390
N(SyntaxKind.
EmptyStatement
);
13517
N(SyntaxKind.
EmptyStatement
);
14581
N(SyntaxKind.
EmptyStatement
);
14628
N(SyntaxKind.
EmptyStatement
);
14675
N(SyntaxKind.
EmptyStatement
);
Parsing\DeconstructionTests.cs (1)
1742
N(SyntaxKind.
EmptyStatement
);
Parsing\ExpressionParsingTests.cs (1)
1535
N(SyntaxKind.
EmptyStatement
);
Parsing\FileModifierParsingTests.cs (1)
3458
N(SyntaxKind.
EmptyStatement
);
Parsing\LambdaAttributeParsingTests.cs (3)
3894
N(SyntaxKind.
EmptyStatement
);
4394
N(SyntaxKind.
EmptyStatement
);
4514
N(SyntaxKind.
EmptyStatement
);
Parsing\LambdaParameterParsingTests.cs (1)
5535
N(SyntaxKind.
EmptyStatement
);
Parsing\LocalFunctionParsingTests.cs (1)
3003
N(SyntaxKind.
EmptyStatement
);
Parsing\PatternParsingTests.cs (10)
1606
N(SyntaxKind.
EmptyStatement
);
1657
N(SyntaxKind.
EmptyStatement
);
1719
N(SyntaxKind.
EmptyStatement
);
1769
N(SyntaxKind.
EmptyStatement
);
1830
N(SyntaxKind.
EmptyStatement
);
1925
N(SyntaxKind.
EmptyStatement
);
2013
N(SyntaxKind.
EmptyStatement
);
2138
N(SyntaxKind.
EmptyStatement
);
2197
N(SyntaxKind.
EmptyStatement
);
2434
N(SyntaxKind.
EmptyStatement
);
Parsing\RecordParsing.cs (1)
1318
N(SyntaxKind.
EmptyStatement
);
Parsing\StatementAttributeParsingTests.cs (2)
119
N(SyntaxKind.
EmptyStatement
);
917
N(SyntaxKind.
EmptyStatement
);
Parsing\StatementParsingTests.cs (5)
956
Assert.Equal(SyntaxKind.
EmptyStatement
, statement.Kind());
982
Assert.Equal(SyntaxKind.
EmptyStatement
, ls.Statement.Kind());
3580
M(SyntaxKind.
EmptyStatement
);
5459
N(SyntaxKind.
EmptyStatement
);
5479
N(SyntaxKind.
EmptyStatement
);
Parsing\SwitchExpressionParsingTests.cs (1)
449
N(SyntaxKind.
EmptyStatement
);
Parsing\TopLevelStatementsParsingTests.cs (2)
69
N(SyntaxKind.
EmptyStatement
);
1211
N(SyntaxKind.
EmptyStatement
);
Microsoft.Interop.SourceGeneration (6)
Marshalling\ElementsMarshalling.cs (1)
384
if (contentsCleanupStatements.IsKind(SyntaxKind.
EmptyStatement
))
Marshalling\StatefulMarshallingStrategy.cs (2)
333
if (!elementCleanup.IsKind(SyntaxKind.
EmptyStatement
))
347
if (!elementCleanup.IsKind(SyntaxKind.
EmptyStatement
))
Marshalling\StatelessMarshallingStrategy.cs (2)
574
if (!elementCleanup.IsKind(SyntaxKind.
EmptyStatement
))
624
if (!elementCleanup.IsKind(SyntaxKind.
EmptyStatement
))
SyntaxExtensions.cs (1)
18
if (fixedStatement.Statement.IsKind(SyntaxKind.
EmptyStatement
))