37 references to BoundExpressionStatement
Microsoft.CodeAnalysis.CSharp (37)
Binder\Binder_Initializers.cs (1)
263statement = new BoundExpressionStatement(statement.Syntax, expression, expression.HasErrors);
Binder\Binder_Statements.cs (3)
660expressionStatement = new BoundExpressionStatement(node, expression, hasErrors: true); 664expressionStatement = new BoundExpressionStatement(node, expression); 3789var constructorInitializer = new BoundExpressionStatement(ctorSyntax, initializerInvocation) { WasCompilerGenerated = ((MethodSymbol)ContainingMember()).IsImplicitlyDeclared };
Compiler\MethodBodySynthesizer.cs (12)
43new BoundExpressionStatement(syntax, 102statements.Add(new BoundExpressionStatement(syntax, 120new BoundExpressionStatement(syntax, 148new BoundExpressionStatement(syntax, 199statement = new BoundExpressionStatement( 320BoundStatement callStatement = new BoundExpressionStatement(syntax, processHandlerCall); 407BoundStatement eventUpdate = new BoundExpressionStatement(syntax, 439BoundStatement tmp0Init = new BoundExpressionStatement(syntax, 453BoundStatement tmp1Update = new BoundExpressionStatement(syntax, 472BoundStatement tmp2Update = new BoundExpressionStatement(syntax, 488BoundStatement tmp0Update = new BoundExpressionStatement(syntax, 542BoundStatement baseFinalizeCall = new BoundExpressionStatement(
Compiler\MethodCompiler.cs (1)
2348var constructorInitializer = new BoundExpressionStatement(initializerInvocation.Syntax, initializerInvocation) { WasCompilerGenerated = method.IsImplicitlyDeclared };
Generated\BoundNodes.xml.Generated.cs (1)
3686var result = new BoundExpressionStatement(this.Syntax, expression, this.HasErrors);
Lowering\InitializerRewriter.cs (1)
98new BoundExpressionStatement(syntax,
Lowering\LocalRewriter\LocalRewriter_CollectionExpression.cs (1)
357new BoundExpressionStatement(syntax, rewrittenValue) :
Lowering\LocalRewriter\LocalRewriter_ForEachStatement.cs (5)
386disposeCallStatement = new BoundExpressionStatement(forEachSyntax, disposeCall); 446BoundStatement disposeCallStatement = new BoundExpressionStatement(forEachSyntax, expression: disposeCall); 480return new BoundExpressionStatement(forEachSyntax, awaitExpr); 830iterationVarDecl = new BoundExpressionStatement(assignment.Syntax, loweredAssignment); 1258statementOpt: new BoundExpressionStatement(syntax,
Lowering\LocalRewriter\LocalRewriter_LocalDeclaration.cs (1)
55BoundStatement rewrittenLocalDeclaration = new BoundExpressionStatement(
Lowering\LocalRewriter\LocalRewriter_LockStatement.cs (1)
67var expressionStatement = new BoundExpressionStatement(rewrittenArgument.Syntax, tempAssignment);
Lowering\LocalRewriter\LocalRewriter_UsingStatement.cs (3)
184BoundStatement expressionStatement = new BoundExpressionStatement(expressionSyntax, tempAssignment); 261new BoundExpressionStatement(declarationSyntax, tempAssignment), 376BoundStatement disposeStatement = new BoundExpressionStatement(resourceSyntax, disposeCall);
Lowering\SpillSequenceSpiller.cs (1)
162AddStatement(new BoundExpressionStatement(expression.Syntax, expression) { WasCompilerGenerated = true });
Lowering\SyntheticBoundNodeFactory.cs (2)
415return new BoundExpressionStatement(Syntax, expr) { WasCompilerGenerated = true }; 1189return new BoundExpressionStatement(Syntax, Call(Base(baseType), ctor)) { WasCompilerGenerated = true };
Symbols\Synthesized\SynthesizedEntryPointSymbol.cs (4)
404new BoundExpressionStatement( 505new BoundExpressionStatement( 518new BoundExpressionStatement(syntax, getAwaiterGetResultCall) { WasCompilerGenerated = true }, 582var submissionAssignment = new BoundExpressionStatement(