Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (12)
84var boundTemp = _factory.StoreToTemp(loweredLeft, out tempAssignment);
655var local = _factory.StoreToTemp(loweredLeft, out assignment);
1029BoundLocal boundTempX = _factory.StoreToTemp(xNonNull ?? loweredLeft, out BoundAssignmentOperator tempAssignmentX);
1030BoundLocal boundTempY = _factory.StoreToTemp(yNonNull ?? loweredRight, out BoundAssignmentOperator tempAssignmentY);
1201BoundLocal boundTempX = _factory.StoreToTemp(xNonNull ?? loweredLeft, out tempAssignmentX);
1203BoundLocal boundTempY = _factory.StoreToTemp(yNonNull ?? loweredRight, out tempAssignmentY);
1495var tempAccess = _factory.StoreToTemp(operand, out tempAssignment, kind: kind);
1719BoundLocal boundTemp = _factory.StoreToTemp(notAlwaysNull, out tempAssignment);
1776BoundLocal boundTempX = _factory.StoreToTemp(leftNonNull ?? left, out tempAssignmentX);
1778BoundLocal boundTempY = _factory.StoreToTemp(rightNonNull ?? right, out tempAssignmentY);
1830BoundLocal boundTempX = _factory.StoreToTemp(loweredLeft, out tempAssignmentX);
1832BoundLocal boundTempY = _factory.StoreToTemp(loweredRight, out tempAssignmentY);
Lowering\LocalRewriter\LocalRewriter_CollectionExpression.cs (11)
336BoundLocal temp = _factory.StoreToTemp(rewrittenReceiver, out assignmentToTemp);
550var temp = _factory.StoreToTemp(element, out var assignment);
566BoundLocal inlineArrayLocal = _factory.StoreToTemp(new BoundDefaultExpression(syntax, inlineArrayType), out assignmentToTemp);
719BoundLocal indexTemp = _factory.StoreToTemp(
726BoundLocal arrayTemp = _factory.StoreToTemp(
958spreadOperandAsSpan = _factory.StoreToTemp(spreadOperandAsSpan, out var assignmentToTemp);
1021knownLengthTemp = _factory.StoreToTemp(knownLengthExpression, out assignmentToTemp);
1042BoundLocal listTemp = _factory.StoreToTemp(rewrittenReceiver, out assignmentToTemp);
1058BoundLocal spanTemp = _factory.StoreToTemp(_factory.Call(receiver: null, asSpan, listTemp), out assignmentToTemp);
1066BoundLocal indexTemp = _factory.StoreToTemp(
1177BoundLocal temp = _factory.StoreToTemp(rewrittenExpression, out assignmentToTemp);
Lowering\LocalRewriter\LocalRewriter_CompoundAssignmentOperator.cs (14)
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);
205var receiverTemp = _factory.StoreToTemp(rewrittenReceiver, out assignmentToTemp, refKind: variableRepresentsLocation ? RefKind.Ref : RefKind.None);
237var receiverTemp = _factory.StoreToTemp(rewrittenReceiver, out assignmentToTemp);
357var boundTemp = _factory.StoreToTemp(array, out storeToTemp);
448var variableTemp = _factory.StoreToTemp(arrayAccess, out assignmentToTemp, refKind: RefKind.Ref);
495var receiverTemp = _factory.StoreToTemp(rewrittenReceiver, out assignmentToTemp);
508var temp = _factory.StoreToTemp(VisitExpression(indexerAccess.Receiver), out assignmentToTemp);
526var temp = _factory.StoreToTemp(VisitExpression(arguments[i]), out assignmentToTemp, indexerAccess.ArgumentRefKindsOpt.RefKinds(i) != RefKind.None ? RefKind.Ref : RefKind.None);
754var variableTemp = _factory.StoreToTemp(rewrittenVariable, out assignmentToTemp2, refKind: RefKind.Ref);
783var arrayTemp = _factory.StoreToTemp(loweredExpression, out assignmentToArrayTemp);
794var temp = _factory.StoreToTemp(loweredIndices[i], out assignmentToTemp);
Lowering\LocalRewriter\LocalRewriter_IndexerAccess.cs (16)
212rewrittenReceiver = _factory.StoreToTemp(rewrittenReceiver, out receiverStore);
501var receiverLocal = F.StoreToTemp(
541makeOffsetInput = F.StoreToTemp(makeOffsetInput, out BoundAssignmentOperator inputStore);
601var integerTemp = F.StoreToTemp(integerArgument, out BoundAssignmentOperator integerStore);
615var integerTemp = F.StoreToTemp(integerArgument, out BoundAssignmentOperator integerStore);
803var receiverLocal = F.StoreToTemp(
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);
1043var startLocal = F.StoreToTemp(
1054var rangeSizeLocal = F.StoreToTemp(