17 references to EmptyStatementSyntax
Microsoft.CodeAnalysis.CSharp (8)
Binder\Binder_Statements.cs (4)
117result = BindEmpty((EmptyStatementSyntax)node); 355var emptyStatement = (EmptyStatementSyntax)node; 461private static BoundStatement BindEmpty(EmptyStatementSyntax node)
Declarations\DeclarationTreeBuilder.cs (1)
120bag.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)
121if (foreachStatement.Statement is EmptyStatementSyntax)
ExtractMethod\CSharpSelectionValidator.Validator.cs (1)
59EmptyStatementSyntax or
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (7)
Generated\Syntax.Test.xml.Generated.cs (5)
10331private static EmptyStatementSyntax GenerateEmptyStatement() 12061var node = GenerateEmptyStatement(); 12065var newNode = node.WithAttributeLists(node.AttributeLists).WithSemicolonToken(node.SemicolonToken); 16739var oldNode = GenerateEmptyStatement(); 16755var oldNode = GenerateEmptyStatement();
Parsing\StatementParsingTests.cs (2)
960var es = (EmptyStatementSyntax)statement;