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