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