17 references to EmptyStatementSyntax
Microsoft.CodeAnalysis.CSharp (8)
Binder\Binder_Statements.cs (4)
117
result = BindEmpty((
EmptyStatementSyntax
)node);
355
var
emptyStatement = (
EmptyStatementSyntax
)node;
461
private static BoundStatement BindEmpty(
EmptyStatementSyntax
node)
Declarations\DeclarationTreeBuilder.cs (1)
120
bag.Add(ErrorCode.ERR_SimpleProgramIsEmpty, ((
EmptyStatementSyntax
)firstGlobalStatement.Statement).SemicolonToken.GetLocation());
Syntax\EmptyStatementSyntax.cs (2)
11
public
EmptyStatementSyntax
Update(SyntaxToken semicolonToken)
20
public static
EmptyStatementSyntax
EmptyStatement(SyntaxToken semicolonToken)
Syntax\LookupPosition.cs (1)
391
return ((
EmptyStatementSyntax
)statement).SemicolonToken;
Microsoft.CodeAnalysis.CSharp.Features (2)
ConvertForEachToFor\CSharpConvertForEachToForCodeRefactoringProvider.cs (1)
121
if (foreachStatement.Statement is
EmptyStatementSyntax
)
ExtractMethod\CSharpSelectionValidator.Validator.cs (1)
59
EmptyStatementSyntax
or
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (7)
Generated\Syntax.Test.xml.Generated.cs (5)
10331
private static
EmptyStatementSyntax
GenerateEmptyStatement()
12061
var
node = GenerateEmptyStatement();
12065
var
newNode = node.WithAttributeLists(node.AttributeLists).WithSemicolonToken(node.SemicolonToken);
16739
var
oldNode = GenerateEmptyStatement();
16755
var
oldNode = GenerateEmptyStatement();
Parsing\StatementParsingTests.cs (2)
960
var
es = (
EmptyStatementSyntax
)statement;