19 instantiations of BoundAssignmentOperator
Microsoft.CodeAnalysis.VisualBasic (19)
Binding\Binder_Statements.vb (2)
2020Return New BoundAssignmentOperator(node, op1, op2, False, hasErrors:=isError) 2065Return New BoundAssignmentOperator(node, left, placeholder, right, False, hasErrors:=isError)
BoundTree\BoundAssignmentOperator.vb (1)
17Me.New(syntax, left, leftOnTheRightOpt:=Nothing, right:=right, suppressObjectClone:=suppressObjectClone, hasErrors:=hasErrors)
Lowering\Instrumentation\DebugInfoInjector_SequencePoints.vb (1)
80Dim boundNode = New BoundAssignmentOperator(syntax, left, right, suppressObjectClone:=True)
Lowering\LambdaRewriter\LambdaRewriter.vb (1)
480Dim fieldInit = New BoundAssignmentOperator(syntaxNode, left, right, True, type)
Lowering\LocalRewriter\LocalRewriter_AddRemoveHandler.vb (1)
94tempAssignment = New BoundAssignmentOperator(syntax, boundTemp, GenerateObjectCloneIfNeeded(unwrappedEventAccess.ReceiverOpt, rewrittenReceiverOpt.MakeRValue), True)
Lowering\LocalRewriter\LocalRewriter_AssignmentOperator.vb (1)
516ImmutableArray.Create(Of BoundExpression)(New BoundAssignmentOperator(node.Syntax,
Lowering\LocalRewriter\LocalRewriter_Call.vb (1)
336VisitAssignmentOperator(New BoundAssignmentOperator(argument.Syntax, secondUse, argument.OutConversion, False)),
Lowering\LocalRewriter\LocalRewriter_FieldOrPropertyInitializer.vb (1)
136rewrittenStatement = VisitExpression(New BoundAssignmentOperator(syntax,
Lowering\LocalRewriter\LocalRewriter_LateBindingHelpers.vb (7)
117Dim arrayInit = New BoundAssignmentOperator(node, arrayTempRef, arrayCreation, suppressObjectClone:=True) 147Dim elementAssignment = New BoundAssignmentOperator(node, arrayElement, argument, suppressObjectClone:=True) 206Dim arrayInit = New BoundAssignmentOperator(node, arrayTempRef, arrayCreation, suppressObjectClone:=True) 256Return New BoundAssignmentOperator(node, arrayElement, value, suppressObjectClone:=True) 448Dim assignment As BoundExpression = New BoundAssignmentOperator(syntax, 755argumentsArray = (New BoundAssignmentOperator(syntax, valueArrayRef, argumentsArray, suppressObjectClone:=True)).MakeRValue 837Dim store = New BoundAssignmentOperator(syntax, valueRef, callerInvocation, suppressObjectClone:=True)
Lowering\LocalRewriter\LocalRewriter_LocalDeclaration.vb (1)
274Dim flagStateAssignTwo = New BoundAssignmentOperator(syntax, flagState, two, suppressObjectClone:=True).ToStatement()
Lowering\LocalRewriter\LocalRewriter_RedimClause.vb (1)
83Dim assignmentOperator As BoundExpression = New BoundAssignmentOperator(node.Syntax, assignmentTarget,
Lowering\SyntheticBoundNodeFactory.vb (1)
301Dim boundNode = New BoundAssignmentOperator(_syntax, left, right, True)
68 references to BoundAssignmentOperator
Microsoft.CodeAnalysis.VisualBasic (68)
Analysis\FlowAnalysis\AbstractFlowPass.vb (3)
894Dim initializerExpr As BoundExpression = DirectCast(initializer, BoundAssignmentOperator).Right 920Dim initializerExpr As BoundExpression = DirectCast(initializer, BoundAssignmentOperator).Right 1624Public Overrides Function VisitAssignmentOperator(node As BoundAssignmentOperator) As BoundNode
Analysis\FlowAnalysis\DataFlowPass.vb (1)
1801Public Overrides Function VisitAssignmentOperator(node As BoundAssignmentOperator) As BoundNode
Binding\Binder_Attributes.vb (1)
729Dim assignment = DirectCast(argument, BoundAssignmentOperator)
Binding\Binder_Invocation.vb (1)
2879DirectCast(copyBackExpression, BoundAssignmentOperator).Right Is outConversion))
Binding\Binder_ObjectInitializer.vb (3)
549Dim assignmentOperator = TryCast(initializer, BoundAssignmentOperator) 806Debug.Assert(TypeSymbol.Equals(DirectCast(memberAssignments.Last, BoundAssignmentOperator).Right.Type, DirectCast(memberAssignments.Last, BoundAssignmentOperator).Left.Type, TypeCompareKind.ConsiderEverything))
Binding\Binder_Statements.vb (5)
796Dim clauses = ArrayBuilder(Of BoundAssignmentOperator).GetInstance() 803Dim clause As BoundAssignmentOperator 2005Private Function BindAssignment(node As SyntaxNode, op1 As BoundExpression, op2 As BoundExpression, diagnostics As BindingDiagnosticBag) As BoundAssignmentOperator 2030) As BoundAssignmentOperator 2139Dim expr As BoundAssignmentOperator
Binding\MemberSemanticModel.vb (1)
2401Public Overrides Function VisitAssignmentOperator(node As BoundAssignmentOperator) As BoundNode
BoundTree\BoundObjectInitializerExpression.vb (3)
18Debug.Assert(DirectCast(initializer, BoundAssignmentOperator).Left.Kind = BoundKind.BadExpression OrElse 19DirectCast(initializer, BoundAssignmentOperator).Left.Kind = BoundKind.FieldAccess OrElse 20DirectCast(initializer, BoundAssignmentOperator).Left.Kind = BoundKind.PropertyAccess)
BoundTree\BoundTreeVisitor.vb (1)
34Return VisitAssignmentOperator(CType(node, BoundAssignmentOperator), arg)
CodeGen\EmitExpression.vb (6)
78EmitAssignmentExpression(DirectCast(expression, BoundAssignmentOperator), used) 924Dim rhs = DirectCast(receiver, BoundAssignmentOperator).Right 1535Dim assignment = DirectCast(expr, BoundAssignmentOperator) 1721Private Sub EmitAssignmentExpression(assignmentOperator As BoundAssignmentOperator, used As Boolean) 1787Private Function TryEmitAssignmentInPlace(assignmentOperator As BoundAssignmentOperator, used As Boolean) As Boolean 1974Private Function EmitAssignmentDuplication(assignmentOperator As BoundAssignmentOperator, used As Boolean, lhsUsesStack As Boolean) As LocalDefinition
CodeGen\Optimizer\StackScheduler.Analyzer.vb (2)
540Public Overrides Function VisitAssignmentOperator(node As BoundAssignmentOperator) As BoundNode 618Private Shared Function IsIndirectAssignment(node As BoundAssignmentOperator) As Boolean
CodeGen\Optimizer\StackScheduler.Rewriter.vb (2)
166Private Function VisitAssignmentOperatorDefault(node As BoundAssignmentOperator) As BoundNode 175Public Overrides Function VisitAssignmentOperator(node As BoundAssignmentOperator) As BoundNode
Generated\BoundNodes.xml.Generated.vb (12)
1807Public Function Update(left As BoundExpression, leftOnTheRightOpt As BoundCompoundAssignmentTargetPlaceholder, right As BoundExpression, suppressObjectClone As Boolean, type As TypeSymbol) As BoundAssignmentOperator 3002Public Sub New(syntax As SyntaxNode, clauses As ImmutableArray(Of BoundAssignmentOperator), Optional hasErrors As Boolean = False) 3011Private ReadOnly _Clauses As ImmutableArray(Of BoundAssignmentOperator) 3012Public ReadOnly Property Clauses As ImmutableArray(Of BoundAssignmentOperator) 3023Public Function Update(clauses As ImmutableArray(Of BoundAssignmentOperator)) As BoundEraseStatement 9409Return VisitAssignmentOperator(CType(node, BoundAssignmentOperator), arg) 9831Public Overridable Function VisitAssignmentOperator(node As BoundAssignmentOperator, arg As A) As R 10534Public Overridable Function VisitAssignmentOperator(node As BoundAssignmentOperator) As BoundNode 11259Public Overrides Function VisitAssignmentOperator(node As BoundAssignmentOperator) As BoundNode 12240Public Overrides Function VisitAssignmentOperator(node As BoundAssignmentOperator) As BoundNode 12384Dim clauses As ImmutableArray(Of BoundAssignmentOperator) = Me.VisitList(node.Clauses) 13398Public Overrides Function VisitAssignmentOperator(node As BoundAssignmentOperator, arg As Object) As TreeDumperNode
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Expressions.vb (3)
273Public Overrides Function VisitAssignmentOperator(node As BoundAssignmentOperator) As BoundNode 274Return ProcessRewrittenAssignmentOperator(DirectCast(MyBase.VisitAssignmentOperator(node), BoundAssignmentOperator)) 277Friend Function ProcessRewrittenAssignmentOperator(rewritten As BoundAssignmentOperator) As BoundExpression
Lowering\Diagnostics\DiagnosticsPass_ExpressionLambdas.vb (2)
127Dim assignment = DirectCast(initializer, BoundAssignmentOperator) 155Public Overrides Function VisitAssignmentOperator(node As BoundAssignmentOperator) As BoundNode
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter.vb (1)
594Dim assignment = DirectCast(initializers(i), BoundAssignmentOperator)
Lowering\LocalRewriter\LocalRewriter_AddRemoveHandler.vb (1)
89Dim tempAssignment As BoundAssignmentOperator = Nothing
Lowering\LocalRewriter\LocalRewriter_AssignmentOperator.vb (8)
16Public Overrides Function VisitAssignmentOperator(node As BoundAssignmentOperator) As BoundNode 124Private Shared Function IsPropertyAssignment(node As BoundAssignmentOperator) As Boolean 139Private Function VisitAssignmentOperatorSimple(node As BoundAssignmentOperator) As BoundExpression 145Private Function VisitAssignmentLeftExpression(node As BoundAssignmentOperator) As BoundExpression 174Private Function RewritePropertyAssignmentAsSetCall(node As BoundAssignmentOperator, setNode As BoundExpression) As BoundExpression 206Private Function RewritePropertyAssignmentAsSetCall(node As BoundAssignmentOperator, setNode As BoundPropertyAccess) As BoundExpression 247Private Function RewriteLateBoundAssignment(node As BoundAssignmentOperator) As BoundNode 459Private Function RewriteTrivialMidAssignment(node As BoundAssignmentOperator) As BoundExpression
Lowering\LocalRewriter\LocalRewriter_Erase.vb (2)
12Dim clause As BoundAssignmentOperator = node.Clauses(0) 18For Each clause As BoundAssignmentOperator In node.Clauses
Lowering\LocalRewriter\LocalRewriter_ObjectCreation.vb (1)
359Dim assignment = DirectCast(node.Initializers(initializerIndex), BoundAssignmentOperator)
Lowering\SyntheticBoundNodeFactory.vb (1)
299Public Function AssignmentExpression(left As BoundExpression, right As BoundExpression) As BoundAssignmentOperator
Lowering\UseTwiceRewriter.vb (8)
88Dim capture As BoundAssignmentOperator = CaptureInATemp(containingMember, receiverOpt.MakeRValue(), temporaries, boundTemp) 94Dim capture As BoundAssignmentOperator = CaptureInATemp(containingMember, receiverOpt.MakeRValue(), temporaries, boundTemp) 143) As BoundAssignmentOperator 163) As BoundAssignmentOperator 320Dim capture As BoundAssignmentOperator = CaptureInATemp(containingMember, receiverOpt.MakeRValue(), arg, boundTemp) 342Dim clone As BoundAssignmentOperator = CaptureInATemp(containingMember, receiver.Second.MakeRValue(), arg, cloneTemp) 513DirectCast(result.First, BoundAssignmentOperator).Left.Kind = BoundKind.Local AndAlso 514DirectCast(result.Second, BoundLocal).LocalSymbol Is DirectCast(DirectCast(result.First, BoundAssignmentOperator).Left, BoundLocal).LocalSymbol))