27 instantiations of BoundAssignmentOperator
Microsoft.CodeAnalysis.CSharp (27)
Binder\Binder_Statements.cs (1)
1524return new BoundAssignmentOperator(node, op1, op2, isRef, type, hasErrors);
Compiler\MethodBodySynthesizer.cs (9)
103new BoundAssignmentOperator(syntax, 121new BoundAssignmentOperator(syntax, 149new BoundAssignmentOperator(syntax, 201new BoundAssignmentOperator( 408expression: new BoundAssignmentOperator(syntax, 440expression: new BoundAssignmentOperator(syntax, 454expression: new BoundAssignmentOperator(syntax, 473expression: new BoundAssignmentOperator(syntax, 489expression: new BoundAssignmentOperator(syntax,
Generated\BoundNodes.xml.Generated.cs (1)
1849var result = new BoundAssignmentOperator(this.Syntax, left, right, isRef, type, this.HasErrors);
Lowering\ClosureConversion\ClosureConversion.cs (3)
679prologue.Add(new BoundAssignmentOperator(syntax, 695BoundExpression assignment = new BoundAssignmentOperator(syntax, left, right, left.Type); 788var assignToProxy = new BoundAssignmentOperator(syntax, left, value, value.Type);
Lowering\InitializerRewriter.cs (1)
99new BoundAssignmentOperator(syntax,
Lowering\LocalRewriter\LocalRewriter_AssignmentOperator.cs (1)
329BoundExpression rhsAssignment = new BoundAssignmentOperator(
Lowering\LocalRewriter\LocalRewriter_CollectionExpression.cs (6)
594var assignment = new BoundAssignmentOperator(syntax, call, element, type: call.Type) { WasCompilerGenerated = true }; 797new BoundAssignmentOperator( 807new BoundAssignmentOperator( 1014sideEffects.Add(new BoundAssignmentOperator(rewrittenSpreadOperand.Syntax, indexTemp, _factory.Binary(BinaryOperatorKind.Addition, indexTemp.Type, indexTemp, spreadLength), isRef: false, indexTemp.Type)); 1133new BoundAssignmentOperator( 1143new BoundAssignmentOperator(
Lowering\LocalRewriter\LocalRewriter_ForEachStatement.cs (1)
1259expression: new BoundAssignmentOperator(syntax,
Lowering\SyntheticBoundNodeFactory.cs (2)
436var assignment = new BoundAssignmentOperator(syntax, left, right, isRef, left.Type, hasErrors) { WasCompilerGenerated = wasCompilerGenerated }; 1695store = new BoundAssignmentOperator(
Symbols\Synthesized\SynthesizedEntryPointSymbol.cs (2)
507new BoundAssignmentOperator( 584new BoundAssignmentOperator(
241 references to BoundAssignmentOperator
Microsoft.CodeAnalysis.CSharp (241)
Binder\Binder.ValueChecks.cs (12)
938var assignment = (BoundAssignmentOperator)expr; 1457private bool CheckSimpleAssignmentValueKind(SyntaxNode node, BoundAssignmentOperator assignment, BindValueKind valueKind, BindingDiagnosticBag diagnostics) 3571var assignment = (BoundAssignmentOperator)expr; 3930var assignment = (BoundAssignmentOperator)expr; 4378return GetValEscape(((BoundAssignmentOperator)expr).Right, scopeOfTheContainingExpression); 4597var assignment = (BoundAssignmentOperator)expr; 5156var assignment = (BoundAssignmentOperator)expr;
Binder\Binder_Attributes.cs (11)
264ImmutableArray<BoundAssignmentOperator> boundNamedArguments = analyzedArguments.NamedArguments?.ToImmutableAndFree() ?? ImmutableArray<BoundAssignmentOperator>.Empty; 455ArrayBuilder<BoundAssignmentOperator>? boundNamedArgumentsBuilder = null; 495boundNamedArgumentsBuilder = ArrayBuilder<BoundAssignmentOperator>.GetInstance(); 504BoundAssignmentOperator boundNamedArgument = BindNamedAttributeArgument(argument, attributeType, diagnostics); 514private BoundAssignmentOperator BindNamedAttributeArgument(AttributeArgumentSyntax namedArgument, NamedTypeSymbol attributeType, BindingDiagnosticBag diagnostics) 782public ImmutableArray<KeyValuePair<string, TypedConstant>> VisitNamedArguments(ImmutableArray<BoundAssignmentOperator> arguments, BindingDiagnosticBag diagnostics, ref bool attrHasErrors) 785foreach (var argument in arguments) 808private KeyValuePair<String, TypedConstant>? VisitNamedArgument(BoundAssignmentOperator assignment, BindingDiagnosticBag diagnostics, ref bool attrHasErrors) 1070internal readonly ArrayBuilder<BoundAssignmentOperator>? NamedArguments; 1072internal AnalyzedAttributeArguments(AnalyzedArguments constructorArguments, ArrayBuilder<BoundAssignmentOperator>? namedArguments)
Binder\Binder_Expressions.cs (1)
6116if (initializer is not BoundAssignmentOperator assignmentOperator)
Binder\Binder_Statements.cs (3)
1473private BoundAssignmentOperator BindAssignment( 2685var assignment = (BoundAssignmentOperator)expr;
Binder\RefSafetyAnalysis.cs (1)
538public override BoundNode? VisitAssignmentOperator(BoundAssignmentOperator node)
BoundTree\BoundNode_Source.cs (1)
255case BoundAssignmentOperator assignment:
BoundTree\BoundTreeVisitors.cs (1)
46return VisitAssignmentOperator(node as BoundAssignmentOperator, arg);
CodeGen\CodeGenerator_HasHome.cs (2)
115var assignment = (BoundAssignmentOperator)expression;
CodeGen\EmitAddress.cs (2)
153var assignment = (BoundAssignmentOperator)expression;
CodeGen\EmitExpression.cs (15)
99EmitAssignmentExpression((BoundAssignmentOperator)expression, used ? UseKind.UsedAsValue : UseKind.Unused); 1578var rhs = ((BoundAssignmentOperator)receiver).Right; 2504private void EmitAssignmentExpression(BoundAssignmentOperator assignmentOperator, UseKind useKind) 2572private bool TryEmitAssignmentInPlace(BoundAssignmentOperator assignmentOperator, bool used) 2768private bool EmitAssignmentPreamble(BoundAssignmentOperator assignmentOperator) 2966var assignment = (BoundAssignmentOperator)assignmentTarget; 2981private void EmitAssignmentValue(BoundAssignmentOperator assignmentOperator) 3022private LocalDefinition EmitAssignmentDuplication(BoundAssignmentOperator assignmentOperator, UseKind useKind, bool lhsUsesStack) 3059private void EmitStore(BoundAssignmentOperator assignment) 3151var nested = (BoundAssignmentOperator)expression; 3166private void EmitAssignmentPostfix(BoundAssignmentOperator assignment, LocalDefinition temp, UseKind useKind) 3933var assignment = (BoundAssignmentOperator)expr;
CodeGen\Optimizer.cs (7)
772var assignment = (BoundAssignmentOperator)lastSideeffect; 896public override BoundNode VisitAssignmentOperator(BoundAssignmentOperator node) 1026private static bool IsIndirectAssignment(BoundAssignmentOperator node) 1069Debug.Assert(((BoundAssignmentOperator)lhs).IsRef, "only ref assignments are assignable"); 1097private static bool IsIndirectOrInstanceFieldAssignment(BoundAssignmentOperator node) 2149public override BoundNode VisitAssignmentOperator(BoundAssignmentOperator node)
Compiler\AnonymousTypeMethodBodySynthesizer.cs (1)
117BoundAssignmentOperator assignmentToTemp;
Compiler\MethodCompiler.cs (1)
2283public override BoundNode? VisitAssignmentOperator(BoundAssignmentOperator node)
FlowAnalysis\AbstractFlowPass.cs (1)
2132public override BoundNode VisitAssignmentOperator(BoundAssignmentOperator node)
FlowAnalysis\DefiniteAssignment.cs (2)
1925foreach (var attributeNamedArgumentAssignment in boundAttribute.NamedArguments) 2489public override BoundNode VisitAssignmentOperator(BoundAssignmentOperator node)
FlowAnalysis\LocalDataFlowPass.cs (1)
234return MakeSlot(((BoundAssignmentOperator)node).Left);
FlowAnalysis\NullableWalker.cs (9)
4054completion += VisitObjectElementInitializer(containingSlot, containingType, (BoundAssignmentOperator)initializer, delayCompletionForType); 4090private Action<int, TypeSymbol>? VisitObjectElementInitializer(int containingSlot, TypeSymbol containingType, BoundAssignmentOperator node, bool delayCompletionForType) 4109Action<int, TypeSymbol>? visitMemberInitializer(int containingSlot, TypeSymbol containingType, BoundAssignmentOperator node, bool delayCompletionForType) 4149BoundAssignmentOperator node, 4171BoundAssignmentOperator node, 4250Action<int, Symbol>? visitMemberAssignment(BoundAssignmentOperator node, int containingSlot, Symbol symbol, bool delayCompletionForType, Func<TypeWithAnnotations, TypeWithState>? conversionCompletion = null) 4283Action<int, Symbol>? visitMemberAssignmentAsContinuation(BoundAssignmentOperator node, Func<TypeWithAnnotations, TypeWithState> conversionCompletion) 9931public override BoundNode? VisitAssignmentOperator(BoundAssignmentOperator node) 12037foreach (var assignment in node.NamedArguments)
FlowAnalysis\NullableWalker.DebugVerifier.cs (1)
262public override BoundNode? VisitAssignmentOperator(BoundAssignmentOperator node)
Generated\BoundNodes.xml.Generated.cs (15)
1845public BoundAssignmentOperator Update(BoundExpression left, BoundExpression right, bool isRef, TypeSymbol type) 1849var result = new BoundAssignmentOperator(this.Syntax, left, right, isRef, type, this.HasErrors); 6238public BoundAttribute(SyntaxNode syntax, MethodSymbol? constructor, ImmutableArray<BoundExpression> constructorArguments, ImmutableArray<string?> constructorArgumentNamesOpt, ImmutableArray<int> constructorArgumentsToParamsOpt, bool constructorExpanded, BitVector constructorDefaultArguments, ImmutableArray<BoundAssignmentOperator> namedArguments, LookupResultKind resultKind, TypeSymbol type, bool hasErrors = false) 6263public ImmutableArray<BoundAssignmentOperator> NamedArguments { get; } 6269public BoundAttribute Update(MethodSymbol? constructor, ImmutableArray<BoundExpression> constructorArguments, ImmutableArray<string?> constructorArgumentNamesOpt, ImmutableArray<int> constructorArgumentsToParamsOpt, bool constructorExpanded, BitVector constructorDefaultArguments, ImmutableArray<BoundAssignmentOperator> namedArguments, LookupResultKind resultKind, TypeSymbol type) 8918return VisitAssignmentOperator((BoundAssignmentOperator)node, arg); 9347public virtual R VisitAssignmentOperator(BoundAssignmentOperator node, A arg) => this.DefaultVisit(node, arg); 9583public virtual BoundNode? VisitAssignmentOperator(BoundAssignmentOperator node) => this.DefaultVisit(node); 9931public override BoundNode? VisitAssignmentOperator(BoundAssignmentOperator node) 11050public override BoundNode? VisitAssignmentOperator(BoundAssignmentOperator node) 11755ImmutableArray<BoundAssignmentOperator> namedArguments = this.VisitList(node.NamedArguments); 12787public override BoundNode? VisitAssignmentOperator(BoundAssignmentOperator node) 12791BoundAssignmentOperator updatedNode; 13972ImmutableArray<BoundAssignmentOperator> namedArguments = this.VisitList(node.NamedArguments); 15346public override TreeDumperNode VisitAssignmentOperator(BoundAssignmentOperator node, object? arg) => new TreeDumperNode("assignmentOperator", null, new TreeDumperNode[]
Lowering\AsyncRewriter\AsyncMethodToStateMachineRewriter.cs (2)
316var expression = (BoundAssignmentOperator)node.Expression;
Lowering\ClosureConversion\ClosureConversion.cs (1)
788var assignToProxy = new BoundAssignmentOperator(syntax, left, value, value.Type);
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (1)
949foreach (BoundAssignmentOperator a in oi.Initializers)
Lowering\DiagnosticsPass_ExpressionTrees.cs (1)
249public override BoundNode VisitAssignmentOperator(BoundAssignmentOperator node)
Lowering\DiagnosticsPass_Warnings.cs (1)
877private bool CheckForAssignmentToSelf(BoundAssignmentOperator node)
Lowering\Instrumentation\CompoundInstrumenter.cs (1)
154public override BoundExpression InstrumentUserDefinedLocalAssignment(BoundAssignmentOperator original)
Lowering\Instrumentation\Instrumenter.cs (1)
220public virtual BoundExpression InstrumentUserDefinedLocalAssignment(BoundAssignmentOperator original)
Lowering\Instrumentation\LocalStateTracingInstrumenter.cs (2)
356public override BoundExpression InstrumentUserDefinedLocalAssignment(BoundAssignmentOperator original) 567temp = _factory.StoreToTemp(invocation, out var store);
Lowering\LocalRewriter\LocalRewriter.cs (3)
916BoundAssignmentOperator? assignment = ((BoundExpressionStatement)statement).Expression as BoundAssignmentOperator; 1081return ((BoundAssignmentOperator)expr).IsRef;
Lowering\LocalRewriter\LocalRewriter.DecisionDagRewriter.cs (1)
192public override BoundNode VisitAssignmentOperator(BoundAssignmentOperator node)
Lowering\LocalRewriter\LocalRewriter_AssignmentOperator.cs (2)
15public override BoundNode VisitAssignmentOperator(BoundAssignmentOperator node) 21private BoundExpression VisitAssignmentOperator(BoundAssignmentOperator node, bool used)
Lowering\LocalRewriter\LocalRewriter_Await.cs (1)
48var tempAccess = _factory.StoreToTemp(rewrittenAwait, out BoundAssignmentOperator tempAssignment, syntaxOpt: rewrittenAwait.Syntax,
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (13)
83BoundAssignmentOperator tempAssignment; 650BoundAssignmentOperator? tempAssignment; 654BoundAssignmentOperator assignment; 1029BoundLocal boundTempX = _factory.StoreToTemp(xNonNull ?? loweredLeft, out BoundAssignmentOperator tempAssignmentX); 1030BoundLocal boundTempY = _factory.StoreToTemp(yNonNull ?? loweredRight, out BoundAssignmentOperator tempAssignmentY); 1200BoundAssignmentOperator tempAssignmentX; 1202BoundAssignmentOperator tempAssignmentY; 1494BoundAssignmentOperator tempAssignment; 1718BoundAssignmentOperator tempAssignment; 1775BoundAssignmentOperator tempAssignmentX; 1777BoundAssignmentOperator tempAssignmentY; 1829BoundAssignmentOperator tempAssignmentX; 1831BoundAssignmentOperator tempAssignmentY;
Lowering\LocalRewriter\LocalRewriter_Call.cs (20)
295var receiverTemp = _factory.StoreToTemp(receiverOpt, out var assignmentToTemp); 670BoundAssignmentOperator? assignmentToTemp = null; 783BoundAssignmentOperator? extraRefInitialization = null; 882local = _factory.StoreToTemp(visitedArgument, out var store, refKind: paramRefKind is RefKind.In or RefKind.RefReadOnlyParameter ? RefKind.In : argRefKind); 930private void ReferToTempIfReferenceTypeReceiver(BoundLocal receiverTemp, ref BoundAssignmentOperator assignmentToTemp, out BoundAssignmentOperator? extraRefInitialization, ArrayBuilder<LocalSymbol> temps) 1084ArrayBuilder<BoundAssignmentOperator> storesToTemps = ArrayBuilder<BoundAssignmentOperator>.GetInstance(rewrittenArguments.Length); 1310/* out */ ArrayBuilder<BoundAssignmentOperator> storesToTemps) 1342(LocalRewriter rewriter, bool forceLambdaSpilling, ArrayBuilder<BoundAssignmentOperator> storesToTemps) arg = (rewriter: this, forceLambdaSpilling, storesToTemps); 1345static (BoundExpression element, ref (LocalRewriter rewriter, bool forceLambdaSpilling, ArrayBuilder<BoundAssignmentOperator> storesToTemps) arg) => 1375private BoundExpression StoreArgumentToTempIfNecessary(bool forceLambdaSpilling, ArrayBuilder<BoundAssignmentOperator> storesToTemps, BoundExpression argument, RefKind argRefKind, RefKind paramRefKind) 1386out BoundAssignmentOperator assignment, 1454ArrayBuilder<BoundAssignmentOperator> storesToTemps, 1466foreach (BoundAssignmentOperator s in storesToTemps) 1484ArrayBuilder<BoundAssignmentOperator> tempStores) 1512(ArrayBuilder<BoundAssignmentOperator> tempStores, int tempsRemainedInUse, int firstUnclaimedStore) arg = (tempStores, tempsRemainedInUse, firstUnclaimedStore); 1515static (BoundExpression element, ref (ArrayBuilder<BoundAssignmentOperator> tempStores, int tempsRemainedInUse, int firstUnclaimedStore) arg) => 1530static BoundExpression mergeArgumentAndSideEffect(BoundExpression argument, ArrayBuilder<BoundAssignmentOperator> tempStores, ref int tempsRemainedInUse, ref int firstUnclaimedStore) 1638BoundAssignmentOperator boundAssignmentToTemp;
Lowering\LocalRewriter\LocalRewriter_CollectionExpression.cs (8)
342BoundAssignmentOperator assignmentToTemp; 565var temp = _factory.StoreToTemp(element, out var assignment); 580BoundAssignmentOperator assignmentToTemp; 594var assignment = new BoundAssignmentOperator(syntax, call, element, type: call.Type) { WasCompilerGenerated = true }; 758BoundAssignmentOperator assignmentToTemp; 1003spreadOperandAsSpan = _factory.StoreToTemp(spreadOperandAsSpan, out var assignmentToTemp); 1052BoundAssignmentOperator assignmentToTemp; 1221BoundAssignmentOperator assignmentToTemp;
Lowering\LocalRewriter\LocalRewriter_CompoundAssignmentOperator.cs (19)
65var isEvent = _factory.StoreToTemp(_dynamicFactory.MakeDynamicIsEventTest(memberAccess.Name, memberAccess.Receiver).ToExpression(), out BoundAssignmentOperator isEventAssignment); 70lhsRead = _factory.StoreToTemp(lhsRead, out BoundAssignmentOperator receiverAssignment); 72var storeNonEvent = _factory.StoreToTemp(_factory.Conditional(_factory.Not(isEvent), receiverAssignment, _factory.Null(receiverAssignment.Type), receiverAssignment.Type), out BoundAssignmentOperator nonEventStore); 79loweredRight = _factory.StoreToTemp(loweredRight, out BoundAssignmentOperator possibleHandlerAssignment); 193BoundAssignmentOperator assignmentToTemp; 213BoundAssignmentOperator? extraRefInitialization; 236BoundAssignmentOperator assignmentToTemp; 331ArrayBuilder<BoundAssignmentOperator> storesToTemps = ArrayBuilder<BoundAssignmentOperator>.GetInstance(rewrittenArguments.Length); 356BoundAssignmentOperator storeToTemp; 379foreach (BoundAssignmentOperator tempAssignment in storesToTemps) 447BoundAssignmentOperator assignmentToTemp; 494BoundAssignmentOperator assignmentToTemp; 507BoundAssignmentOperator assignmentToTemp; 525BoundAssignmentOperator assignmentToTemp; 711Debug.Assert(((BoundAssignmentOperator)originalLHS).IsRef); 753BoundAssignmentOperator assignmentToTemp2; 782BoundAssignmentOperator assignmentToArrayTemp; 793BoundAssignmentOperator assignmentToTemp;
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (3)
962BoundAssignmentOperator assignmentToTemp; 1165BoundAssignmentOperator tempAssignment; 1433BoundAssignmentOperator tempAssignment;
Lowering\LocalRewriter\LocalRewriter_DeconstructionAssignmentOperator.cs (2)
348BoundAssignmentOperator assignmentToTemp; 426BoundAssignmentOperator store;
Lowering\LocalRewriter\LocalRewriter_Event.cs (1)
89BoundAssignmentOperator? tempAssignment = null;
Lowering\LocalRewriter\LocalRewriter_ExpressionStatement.cs (1)
55return VisitAssignmentOperator((BoundAssignmentOperator)expression, used: false);
Lowering\LocalRewriter\LocalRewriter_FixedStatement.cs (1)
333BoundAssignmentOperator? nullableTempAssignment = null;
Lowering\LocalRewriter\LocalRewriter_ForEachStatement.cs (1)
754BoundLocal boundLocal = rewriter._factory.StoreToTemp(rewrittenExpression, out BoundAssignmentOperator? valueStore);
Lowering\LocalRewriter\LocalRewriter_IndexerAccess.cs (19)
207BoundAssignmentOperator? receiverStore = null; 273possiblyRefCapturedReceiver = _factory.StoreToTemp(possiblyRefCapturedReceiver, out var refCapture, createSpan.Parameters[0].RefKind == RefKind.In ? RefKindExtensions.StrictIn : RefKind.Ref); 503out var receiverStore, 514BoundAssignmentOperator? extraRefInitialization; 541makeOffsetInput = F.StoreToTemp(makeOffsetInput, out BoundAssignmentOperator inputStore); 601var integerTemp = F.StoreToTemp(integerArgument, out BoundAssignmentOperator integerStore); 615var integerTemp = F.StoreToTemp(integerArgument, out BoundAssignmentOperator integerStore); 805out var receiverStore, 834BoundAssignmentOperator? extraRefInitialization; 926startMakeOffsetInput = F.StoreToTemp(startMakeOffsetInput, out BoundAssignmentOperator inputStore); 937endMakeOffsetInput = F.StoreToTemp(endMakeOffsetInput, out BoundAssignmentOperator inputStore); 952var lengthLocal = F.StoreToTemp(lengthAccess, out var lengthStore); 965var startLocal = F.StoreToTemp(startExpr, out var startStore); 970var rangeSizeLocal = F.StoreToTemp(rangeSizeExpr, out var rangeSizeStore); 1015var startLocal = F.StoreToTemp(startExpr, out var startStore); 1031var rangeLocal = F.StoreToTemp(rewrittenRangeArg, out var rangeStore); 1037var lengthLocal = F.StoreToTemp(lengthAccess, out var lengthStore); 1048out var startStore); 1061out var rangeSizeStore);
Lowering\LocalRewriter\LocalRewriter_LockStatement.cs (3)
63out BoundAssignmentOperator tempAssignment, 99BoundAssignmentOperator assignmentToLockTemp; 142BoundAssignmentOperator assignmentToLockTakenTemp;
Lowering\LocalRewriter\LocalRewriter_NullCoalescingAssignmentOperator.cs (2)
96var lhsTemp = _factory.StoreToTemp(lhsRead, out var store); 104out var getValueOrDefaultStore);
Lowering\LocalRewriter\LocalRewriter_NullCoalescingOperator.cs (1)
159BoundAssignmentOperator tempAssignment;
Lowering\LocalRewriter\LocalRewriter_ObjectCreationExpression.cs (5)
167BoundLocal oldValue = _factory.StoreToTemp(rewrittenReceiver, out BoundAssignmentOperator boundAssignmentToTemp); 207var assignment = (BoundAssignmentOperator)initializer; 213BoundLocal valueTemp = _factory.StoreToTemp(rewrittenRight, out BoundAssignmentOperator boundAssignmentToTemp); 265BoundAssignmentOperator boundAssignmentToTemp;
Lowering\LocalRewriter\LocalRewriter_ObjectOrCollectionInitializerExpression.cs (9)
262AddObjectInitializer(ref dynamicSiteInitializers, ref temps, result, rewrittenReceiver, (BoundAssignmentOperator)initializer); 274BoundAssignmentOperator assignment) 423var rangeTemp = _factory.StoreToTemp(rangeArgument, out BoundAssignmentOperator rangeStore); 454BoundAssignmentOperator store; 520static bool onlyContainsEmptyLeafNestedInitializers(BoundAssignmentOperator assignment) 529&& initializer.Initializers.All(e => e is BoundAssignmentOperator nestedAssignment && onlyContainsEmptyLeafNestedInitializers(nestedAssignment)); 535void addIndexes(ArrayBuilder<BoundExpression> result, BoundAssignmentOperator assignment) 582addIndexes(result, (BoundAssignmentOperator)initializer); 641BoundAssignmentOperator store;
Lowering\LocalRewriter\LocalRewriter_StackAlloc.cs (1)
81var tempAccess = _factory.StoreToTemp(constructorCall, out BoundAssignmentOperator tempAssignment, syntaxOpt: stackAllocNode.Syntax);
Lowering\LocalRewriter\LocalRewriter_StringConcat.cs (3)
243SideEffects: [BoundAssignmentOperator { Right.Type.SpecialType: SpecialType.System_Char } assignment], 541var temp = factory.StoreToTemp(arg, out var tempAssignment); 727var temp = _factory.StoreToTemp(expr, out var store);
Lowering\LocalRewriter\LocalRewriter_TupleBinaryOperator.cs (1)
418BoundLocal temp = _factory.StoreToTemp(loweredExpression, out BoundAssignmentOperator assignmentToTemp);
Lowering\LocalRewriter\LocalRewriter_UnaryOperator.cs (2)
202BoundAssignmentOperator tempAssignment; 668BoundAssignmentOperator tempAssignment;
Lowering\LocalRewriter\LocalRewriter_UsingStatement.cs (2)
154BoundAssignmentOperator tempAssignment; 251BoundAssignmentOperator tempAssignment;
Lowering\MethodToClassRewriter.cs (3)
480public override BoundNode VisitAssignmentOperator(BoundAssignmentOperator node) 528BoundAssignmentOperator tempAssignment; 532BoundAssignmentOperator rewrittenAssignment = node.Update(rewrittenLeft, tempLocal, node.IsRef, rewrittenType);
Lowering\SpillSequenceSpiller.cs (6)
350var assignment = (BoundAssignmentOperator)expression; 504BoundAssignmentOperator assignToTemp; 529BoundAssignmentOperator assignment, 547BoundAssignmentOperator 857public override BoundNode VisitAssignmentOperator(BoundAssignmentOperator node)
Lowering\StateMachineRewriter\IteratorAndAsyncCaptureWalker.cs (1)
337public override BoundNode VisitAssignmentOperator(BoundAssignmentOperator node)
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (2)
508private BoundExpression HoistRefInitialization(SynthesizedLocal local, BoundAssignmentOperator node) 827public override BoundNode VisitAssignmentOperator(BoundAssignmentOperator node)
Lowering\SyntheticBoundNodeFactory.cs (2)
436var assignment = new BoundAssignmentOperator(syntax, left, right, isRef, left.Type, hasErrors) { WasCompilerGenerated = wasCompilerGenerated }; 1632out BoundAssignmentOperator store,
Operations\CSharpOperationFactory.cs (6)
114return CreateBoundAssignmentOperatorOrMemberInitializerOperation((BoundAssignmentOperator)boundNode); 511var namedArguments = CreateFromArray<BoundAssignmentOperator, IOperation>(boundAttribute.NamedArguments); 1319private IOperation CreateBoundAssignmentOperatorOrMemberInitializerOperation(BoundAssignmentOperator boundAssignmentOperator) 1326private static bool IsMemberInitializer(BoundAssignmentOperator boundAssignmentOperator) => 1330private ISimpleAssignmentOperation CreateBoundAssignmentOperatorOperation(BoundAssignmentOperator boundAssignmentOperator) 1344private IMemberInitializerOperation CreateBoundMemberInitializerOperation(BoundAssignmentOperator boundAssignmentOperator)