122 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 (5)
ConvertLinq\ConvertForEachToLinqQuery\CSharpConvertForEachToLinqQueryProvider.cs (1)
142
case SyntaxKind.
EmptyStatement
:
EditAndContinue\BreakpointSpans.cs (1)
759
case SyntaxKind.
EmptyStatement
:
EditAndContinue\CSharpEditAndContinueAnalyzer.cs (1)
1841
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 (105)
IncrementalParsing\IncrementalParsingTests.cs (2)
445
SyntaxKind.
EmptyStatement
,
467
SyntaxKind.
EmptyStatement
,
Parsing\DeclarationParsingTests.cs (1)
9489
N(SyntaxKind.
EmptyStatement
);
Parsing\DeclarationScopeParsingTests.cs (66)
8390
N(SyntaxKind.
EmptyStatement
);
8431
N(SyntaxKind.
EmptyStatement
);
8479
N(SyntaxKind.
EmptyStatement
);
8524
N(SyntaxKind.
EmptyStatement
);
8566
N(SyntaxKind.
EmptyStatement
);
8615
N(SyntaxKind.
EmptyStatement
);
8663
N(SyntaxKind.
EmptyStatement
);
8704
N(SyntaxKind.
EmptyStatement
);
8754
N(SyntaxKind.
EmptyStatement
);
8799
N(SyntaxKind.
EmptyStatement
);
8856
N(SyntaxKind.
EmptyStatement
);
8902
N(SyntaxKind.
EmptyStatement
);
8973
N(SyntaxKind.
EmptyStatement
);
9014
N(SyntaxKind.
EmptyStatement
);
9059
N(SyntaxKind.
EmptyStatement
);
9105
N(SyntaxKind.
EmptyStatement
);
9150
N(SyntaxKind.
EmptyStatement
);
9191
N(SyntaxKind.
EmptyStatement
);
9240
N(SyntaxKind.
EmptyStatement
);
9281
N(SyntaxKind.
EmptyStatement
);
9326
N(SyntaxKind.
EmptyStatement
);
9373
N(SyntaxKind.
EmptyStatement
);
9410
N(SyntaxKind.
EmptyStatement
);
9451
N(SyntaxKind.
EmptyStatement
);
9492
N(SyntaxKind.
EmptyStatement
);
9537
N(SyntaxKind.
EmptyStatement
);
9690
N(SyntaxKind.
EmptyStatement
);
9728
N(SyntaxKind.
EmptyStatement
);
9830
N(SyntaxKind.
EmptyStatement
);
10015
N(SyntaxKind.
EmptyStatement
);
10113
N(SyntaxKind.
EmptyStatement
);
10219
N(SyntaxKind.
EmptyStatement
);
10327
N(SyntaxKind.
EmptyStatement
);
10369
N(SyntaxKind.
EmptyStatement
);
10412
N(SyntaxKind.
EmptyStatement
);
10454
N(SyntaxKind.
EmptyStatement
);
10492
N(SyntaxKind.
EmptyStatement
);
10530
N(SyntaxKind.
EmptyStatement
);
10572
N(SyntaxKind.
EmptyStatement
);
10615
N(SyntaxKind.
EmptyStatement
);
10649
N(SyntaxKind.
EmptyStatement
);
10687
N(SyntaxKind.
EmptyStatement
);
10957
N(SyntaxKind.
EmptyStatement
);
11011
N(SyntaxKind.
EmptyStatement
);
12206
N(SyntaxKind.
EmptyStatement
);
12252
N(SyntaxKind.
EmptyStatement
);
12379
N(SyntaxKind.
EmptyStatement
);
12425
N(SyntaxKind.
EmptyStatement
);
12604
N(SyntaxKind.
EmptyStatement
);
12706
N(SyntaxKind.
EmptyStatement
);
12813
N(SyntaxKind.
EmptyStatement
);
12916
N(SyntaxKind.
EmptyStatement
);
12966
N(SyntaxKind.
EmptyStatement
);
13017
N(SyntaxKind.
EmptyStatement
);
13067
N(SyntaxKind.
EmptyStatement
);
13113
N(SyntaxKind.
EmptyStatement
);
13167
N(SyntaxKind.
EmptyStatement
);
13213
N(SyntaxKind.
EmptyStatement
);
13263
N(SyntaxKind.
EmptyStatement
);
13314
N(SyntaxKind.
EmptyStatement
);
13356
N(SyntaxKind.
EmptyStatement
);
13402
N(SyntaxKind.
EmptyStatement
);
13529
N(SyntaxKind.
EmptyStatement
);
14593
N(SyntaxKind.
EmptyStatement
);
14640
N(SyntaxKind.
EmptyStatement
);
14687
N(SyntaxKind.
EmptyStatement
);
Parsing\DeconstructionTests.cs (1)
1742
N(SyntaxKind.
EmptyStatement
);
Parsing\ExpressionParsingTests.cs (1)
1535
N(SyntaxKind.
EmptyStatement
);
Parsing\FileModifierParsingTests.cs (1)
3459
N(SyntaxKind.
EmptyStatement
);
Parsing\ForStatementParsingTest.cs (7)
77
N(SyntaxKind.
EmptyStatement
);
139
N(SyntaxKind.
EmptyStatement
);
204
N(SyntaxKind.
EmptyStatement
);
261
N(SyntaxKind.
EmptyStatement
);
306
N(SyntaxKind.
EmptyStatement
);
370
N(SyntaxKind.
EmptyStatement
);
444
N(SyntaxKind.
EmptyStatement
);
Parsing\LambdaAttributeParsingTests.cs (3)
3887
N(SyntaxKind.
EmptyStatement
);
4387
N(SyntaxKind.
EmptyStatement
);
4507
N(SyntaxKind.
EmptyStatement
);
Parsing\LambdaParameterParsingTests.cs (1)
5530
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
))