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