19 references to EmptyStatementSyntax
Microsoft.CodeAnalysis.CSharp (8)
Binder\Binder_Statements.cs (4)
118result = BindEmpty((EmptyStatementSyntax)node); 358var emptyStatement = (EmptyStatementSyntax)node; 464private static BoundStatement BindEmpty(EmptyStatementSyntax node)
Declarations\DeclarationTreeBuilder.cs (1)
195bag.Add(ErrorCode.ERR_SimpleProgramIsEmpty, ((EmptyStatementSyntax)firstGlobalStatement.Statement).SemicolonToken.GetLocation());
Syntax\EmptyStatementSyntax.cs (2)
11public EmptyStatementSyntax Update(SyntaxToken semicolonToken) 20public static EmptyStatementSyntax EmptyStatement(SyntaxToken semicolonToken)
Syntax\LookupPosition.cs (1)
391return ((EmptyStatementSyntax)statement).SemicolonToken;
Microsoft.CodeAnalysis.CSharp.Features (2)
ConvertForEachToFor\CSharpConvertForEachToForCodeRefactoringProvider.cs (1)
120if (foreachStatement.Statement is EmptyStatementSyntax)
ExtractMethod\CSharpSelectionValidator.Validator.cs (1)
59EmptyStatementSyntax or
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (7)
Generated\Syntax.Test.xml.Generated.cs (5)
10583private static EmptyStatementSyntax GenerateEmptyStatement() 12362var node = GenerateEmptyStatement(); 12366var newNode = node.WithAttributeLists(node.AttributeLists).WithSemicolonToken(node.SemicolonToken); 17167var oldNode = GenerateEmptyStatement(); 17183var oldNode = GenerateEmptyStatement();
Parsing\StatementParsingTests.cs (2)
960var es = (EmptyStatementSyntax)statement;
Microsoft.Interop.SourceGeneration (2)
Marshalling\StatefulMarshallingStrategy.cs (1)
416if (elementsSetup is not EmptyStatementSyntax)
Marshalling\StatelessMarshallingStrategy.cs (1)
690if (elementsSetup is not EmptyStatementSyntax)