27 instantiations of BoundExpressionStatement
Microsoft.CodeAnalysis.VisualBasic (27)
Binding\Binder_Delegates.vb (1)
1224Dim boundStatement As BoundStatement = New BoundExpressionStatement(syntaxNode, boundInvocationExpression)
Binding\Binder_Initializers.vb (1)
217boundStatement = New BoundExpressionStatement(boundStatement.Syntax, expression, expression.HasErrors)
Binding\SyntheticBoundTrees\AnonymousTypeSyntheticMethods.vb (1)
42statements.Add(New BoundExpressionStatement(syntax, assignment).MakeCompilerGenerated())
Binding\SyntheticBoundTrees\SynthesizedPropertyAccessorBase.vb (1)
298(New BoundExpressionStatement(
BoundTree\BoundExpressionExtensions.vb (1)
631Return New BoundExpressionStatement(node.Syntax, node, node.HasErrors)
Compilation\MethodCompiler.vb (1)
2121Dim statement As New BoundExpressionStatement(syntaxNode, baseInvocation)
Generated\BoundNodes.xml.Generated.vb (1)
4904Dim result = New BoundExpressionStatement(Me.Syntax, expression, Me.HasErrors)
Lowering\LambdaRewriter\LambdaRewriter.vb (2)
483builder.Add(New BoundExpressionStatement(syntaxNode, fieldInit)) 726newStatements.Add(New BoundExpressionStatement(expr.Syntax, expr))
Lowering\LocalRewriter\LocalRewriter.vb (1)
200sideEffects(i) = New BoundExpressionStatement(init.Syntax, init)
Lowering\LocalRewriter\LocalRewriter_AddRemoveHandler.vb (4)
167Return New BoundExpressionStatement(syntax, marshalCall) 175New BoundExpressionStatement(syntax, tempAssignment), 176New BoundExpressionStatement(syntax, marshalCall))) 244Return New BoundExpressionStatement(node.Syntax, expr)
Lowering\LocalRewriter\LocalRewriter_Erase.vb (2)
13Return Visit(New BoundExpressionStatement(clause.Syntax, clause)) 20statements.Add(DirectCast(Visit(New BoundExpressionStatement(clause.Syntax, clause)), BoundStatement))
Lowering\LocalRewriter\LocalRewriter_LateAddressOf.vb (1)
109Dim boundStatement As BoundStatement = New BoundExpressionStatement(syntaxNode, boundInvocationExpression)
Lowering\LocalRewriter\LocalRewriter_LocalDeclaration.vb (1)
92result = New BoundExpressionStatement(rewrittenInitializer.Syntax, rewrittenInitializer)
Lowering\LocalRewriter\LocalRewriter_RaiseEvent.vb (2)
25result = New BoundExpressionStatement( 72Dim invokeStatement = New BoundExpressionStatement(
Lowering\LocalRewriter\LocalRewriter_RedimClause.vb (1)
102Return Visit(New BoundExpressionStatement(node.Syntax, assignmentOperator))
Lowering\LocalRewriter\LocalRewriter_With.vb (1)
83initStatements.Add(New BoundExpressionStatement(syntax, initializer).MakeCompilerGenerated())
Lowering\MethodToClassRewriter\MethodToClassRewriter.MyBaseMyClassWrapper.vb (1)
122New BoundExpressionStatement(syntax, boundCall),
Lowering\MethodToClassRewriter\MethodToClassRewriter.vb (1)
409newStatements.Add(New BoundExpressionStatement(expr.Syntax, expr))
Lowering\SyntheticBoundNodeFactory.vb (1)
291Dim boundNode = New BoundExpressionStatement(_syntax, expr)
Symbols\Source\SynthesizedEntryPointSymbol.vb (1)
284Dim scriptInitialize = New BoundExpressionStatement(
Symbols\Source\SynthesizedEventAccessorSymbol.vb (1)
239Dim callStatement = New BoundExpressionStatement(syntax, processHandlerCall).MakeCompilerGenerated()
45 references to BoundExpressionStatement
Microsoft.CodeAnalysis.VisualBasic (45)
Analysis\FlowAnalysis\AbstractFlowPass.vb (1)
1093Public Overrides Function VisitExpressionStatement(node As BoundExpressionStatement) As BoundNode
Analysis\InitializerRewriter.vb (2)
211Dim expr = DirectCast(statement, BoundExpressionStatement).Expression 265Dim expression = DirectCast(firstBoundStatement, BoundExpressionStatement).Expression
Binding\Binder_Initializers.vb (1)
213Dim expression = (DirectCast(boundStatement, BoundExpressionStatement)).Expression
Binding\Binder_Statements.vb (3)
426Dim initializer As BoundExpressionStatement = MethodCompiler.BindDefaultConstructorInitializer(methodSymbol, referencedConstructor, diagnostics, Me) 2131Private Function BindAssignmentStatement(node As AssignmentStatementSyntax, diagnostics As BindingDiagnosticBag) As BoundExpressionStatement 2197Private Function BindMidAssignmentStatement(node As AssignmentStatementSyntax, diagnostics As BindingDiagnosticBag) As BoundExpressionStatement
Binding\SyntheticBoundTrees\SynthesizedPropertyAccessorBase.vb (1)
199Dim withEventsLocalStore As BoundExpressionStatement = Nothing
BoundTree\BoundExpressionExtensions.vb (1)
630Public Function ToStatement(node As BoundExpression) As BoundExpressionStatement
BoundTree\BoundTreeVisitor.vb (1)
80Return VisitExpressionStatement(CType(node, BoundExpressionStatement), arg)
CodeGen\EmitStatement.vb (1)
30EmitExpression((DirectCast(statement, BoundExpressionStatement)).Expression, False)
CodeGen\Optimizer\StackScheduler.Analyzer.vb (3)
482Public Overrides Function VisitExpressionStatement(node As BoundExpressionStatement) As BoundNode 1017Dim expressionStatement As BoundExpressionStatement = DirectCast(Me.Visit(node.ExpressionStatement), BoundExpressionStatement)
Compilation\MethodCompiler.vb (4)
1432Private Shared Function TryGetMethodCalledInBoundExpressionStatement(stmt As BoundExpressionStatement) As MethodSymbol 1846Dim referencedMethod As MethodSymbol = TryGetMethodCalledInBoundExpressionStatement(DirectCast(theFirstStatementOpt, BoundExpressionStatement)) 2078Optional binderOpt As Binder = Nothing) As BoundExpressionStatement 2126Friend Shared Function BindDefaultConstructorInitializer(constructor As MethodSymbol, diagnostics As BindingDiagnosticBag) As BoundExpressionStatement
Generated\BoundNodes.xml.Generated.vb (13)
4902Public Function Update(expression As BoundExpression) As BoundExpressionStatement 4966Public Sub New(syntax As SyntaxNode, expressionStatement As BoundExpressionStatement, exprPlaceholderOpt As BoundRValuePlaceholder, caseBlocks As ImmutableArray(Of BoundCaseBlock), recommendSwitchTable As Boolean, exitLabel As LabelSymbol, Optional hasErrors As Boolean = False) 4981Private ReadOnly _ExpressionStatement As BoundExpressionStatement 4982Public ReadOnly Property ExpressionStatement As BoundExpressionStatement 5021Public Function Update(expressionStatement As BoundExpressionStatement, exprPlaceholderOpt As BoundRValuePlaceholder, caseBlocks As ImmutableArray(Of BoundCaseBlock), recommendSwitchTable As Boolean, exitLabel As LabelSymbol) As BoundSelectStatement 9523Return VisitExpressionStatement(CType(node, BoundExpressionStatement), arg) 10059Public Overridable Function VisitExpressionStatement(node As BoundExpressionStatement, arg As A) As R 10762Public Overridable Function VisitExpressionStatement(node As BoundExpressionStatement) As BoundNode 11573Public Overrides Function VisitExpressionStatement(node As BoundExpressionStatement) As BoundNode 12601Public Overrides Function VisitExpressionStatement(node As BoundExpressionStatement) As BoundNode 12614Dim expressionStatement As BoundExpressionStatement = DirectCast(Me.Visit(node.ExpressionStatement), BoundExpressionStatement) 13898Public Overrides Function VisitExpressionStatement(node As BoundExpressionStatement, arg As Object) As TreeDumperNode
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Statements.vb (2)
49Public Overrides Function VisitExpressionStatement(node As BoundExpressionStatement) As BoundNode 50Dim rewritten = DirectCast(MyBase.VisitExpressionStatement(node), BoundExpressionStatement)
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter.vb (1)
164Return Visit((DirectCast(stmt, BoundExpressionStatement)).Expression)
Lowering\Instrumentation\CodeCoverageInstrumenter.vb (2)
180debugDocumentProvider As DebugDocumentProvider) As BoundExpressionStatement 310Public Overrides Function InstrumentExpressionStatement(original As BoundExpressionStatement, rewritten As BoundStatement) As BoundStatement
Lowering\Instrumentation\CompoundInstrumenter.vb (1)
31Public Overrides Function InstrumentExpressionStatement(original As BoundExpressionStatement, rewritten As BoundStatement) As BoundStatement
Lowering\Instrumentation\DebugInfoInjector.vb (1)
36Public Overrides Function InstrumentExpressionStatement(original As BoundExpressionStatement, rewritten As BoundStatement) As BoundStatement
Lowering\Instrumentation\Instrumenter.vb (1)
39Public Overridable Function InstrumentExpressionStatement(original As BoundExpressionStatement, rewritten As BoundStatement) As BoundStatement
Lowering\LocalRewriter\LocalRewriter_ExpressionStatement.vb (1)
14Public Overrides Function VisitExpressionStatement(node As BoundExpressionStatement) As BoundNode
Lowering\LocalRewriter\LocalRewriter_SelectCase.vb (3)
65selectExpressionStmt As BoundExpressionStatement, 196selectExpressionStmt As BoundExpressionStatement, 203) As BoundExpressionStatement
Lowering\SyntheticBoundNodeFactory.vb (2)
286Public Function Assignment(left As BoundExpression, right As BoundExpression) As BoundExpressionStatement 290Public Function ExpressionStatement(expr As BoundExpression) As BoundExpressionStatement