62 references to MakeRValue
Microsoft.CodeAnalysis.VisualBasic (62)
Binding\Binder_Delegates.vb (1)
460tempBoundParameter = tempBoundParameter.MakeRValue()
Binding\Binder_Expressions.vb (3)
1366Return expr.MakeRValue() 1379expr = expr.MakeRValue() 3915expr = expr.MakeRValue()
Binding\Binder_Statements.vb (1)
3518boundDisposeCast = New BoundTryCast(collectionSyntax, boundEnumeratorPlaceholder.MakeRValue(), conversionKind, idisposableType, Nothing)
BoundTree\BoundSequence.vb (1)
28Return Update(_Locals, _SideEffects, Me.ValueOpt.MakeRValue(), Type)
BoundTree\BoundSequencePointExpression.vb (1)
33Return Update(Expression.MakeRValue(), Type)
BoundTree\BoundSpillSequence.vb (1)
22Return Update(Locals, SpillFields, Statements, ValueOpt.MakeRValue(), Type)
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Expressions.vb (8)
122receiverOpt = SpillRValue(receiverOpt.MakeRValue(), builder:=builder) 149Dim spilledReferenceReceiver As BoundExpression = SpillRValue(receiverOpt.MakeRValue(), referenceReceiverBuilder) 648nullCheckTarget = SpillRValue(receiver.MakeRValue(), builder:=builder) 654Dim spilledReferenceReceiver As BoundExpression = SpillRValue(receiver.MakeRValue(), referenceReceiverBuilder) 682nullCheckTarget = Me.F.AssignmentExpression(Me.F.Local(receiverLocal, isLValue:=True), receiver.MakeRValue()) 705nullCheckTarget = placeholderReplacement.MakeRValue() 709nullCheckTarget = placeholderReplacement.MakeRValue() 789Return result.MakeRValue()
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Spilling.vb (1)
229Return SpillRValue(expr.MakeRValue(), builder)
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter.vb (2)
417rewrittenReceiver = CreateLiteralExpression(origReceiverOpt.MakeRValue, field.ContainingType) 477receiverOpt = receiverOpt.MakeRValue()
Lowering\LocalRewriter\LocalRewriter.vb (2)
552Return rewritten.MakeRValue() 678enclosed = enclosed.MakeRValue()
Lowering\LocalRewriter\LocalRewriter_AddRemoveHandler.vb (2)
94tempAssignment = New BoundAssignmentOperator(syntax, boundTemp, GenerateObjectCloneIfNeeded(unwrappedEventAccess.ReceiverOpt, rewrittenReceiverOpt.MakeRValue), True) 287Convert(factory, addRemove.Parameters(0).Type, receiver.MakeRValue()),
Lowering\LocalRewriter\LocalRewriter_AssignmentOperator.vb (1)
79leftOnTheRight = useTwice.Second.MakeRValue()
Lowering\LocalRewriter\LocalRewriter_Call.vb (3)
282originalArgument = originalArgument.MakeRValue 306firstUse = useTwice.First.SetAccessKind(PropertyAccessKind.Get).MakeRValue() 314firstUse = useTwice.First.MakeRValue()
Lowering\LocalRewriter\LocalRewriter_ConditionalAccess.vb (2)
68assignment = factory.AssignmentExpression(factory.Local(temp, isLValue:=True), rewrittenReceiver.MakeRValue()) 95placeholderReplacement = rewrittenReceiver.MakeRValue()
Lowering\LocalRewriter\LocalRewriter_DelegateCreation.vb (1)
57receiverToCapture.MakeRValue(),
Lowering\LocalRewriter\LocalRewriter_ForEach.vb (2)
126VisitExpressionNode(replacedCollection).MakeRValue) 224collectionExpression.MakeRValue(),
Lowering\LocalRewriter\LocalRewriter_ForTo.vb (10)
428rewrittenControlVariable.MakeRValue(), 486rewrittenControlVariable.MakeRValue(), 591controlVariableUnwrapped.MakeRValue(), 605AddPlaceholderReplacement(operatorsOpt.LeftOperandPlaceholder, controlVariable.MakeRValue()) 662AddPlaceholderReplacement(operatorsOpt.LeftOperandPlaceholder, controlVariable.MakeRValue()) 686controlVariable.MakeRValue(), 708controlVariable.MakeRValue(), 723NegateIfStepNegative(controlVariable.MakeRValue(), stepValue), 749controlVariable.MakeRValue(), 757controlVariable.MakeRValue(),
Lowering\LocalRewriter\LocalRewriter_LateBindingHelpers.vb (10)
126argument = argument.MakeRValue 215argument = argument.MakeRValue 280argument = argument.MakeRValue 486Dim receiver As BoundExpression = LateMakeReceiverArgument(syntax, receiverExpr.MakeRValue, lateIndexGetMethod.Parameters(0).Type) 542If(memberAccess.ReceiverOpt IsNot Nothing, memberAccess.ReceiverOpt.MakeRValue, Nothing), 620Dim receiver As BoundExpression = LateMakeReceiverArgument(syntax, invocation.Member.MakeRValue, lateIndexSetMethod.Parameters(0).Type) 622Dim arguments As BoundExpression = LateMakeSetArgumentArrayArgument(syntax, assignmentValue.MakeRValue, invocation.ArgumentsOpt, invocation.ArgumentNamesOpt, lateIndexSetMethod.Parameters(1).Type) 755argumentsArray = (New BoundAssignmentOperator(syntax, valueArrayRef, argumentsArray, suppressObjectClone:=True)).MakeRValue 781Dim receiverValue As BoundExpression = If(receiverExpression Is Nothing, Nothing, receiverExpression.MakeRValue) 891argument = useTwice.First.MakeRValue()
Lowering\LocalRewriter\LocalRewriter_ObjectCreation.vb (1)
326sequenceValueExpression = targetObjectReference.MakeRValue()
Lowering\LocalRewriter\LocalRewriter_RedimClause.vb (1)
47arrayValueAccess = arrayValueAccess.MakeRValue()
Lowering\UseTwiceRewriter.vb (6)
88Dim capture As BoundAssignmentOperator = CaptureInATemp(containingMember, receiverOpt.MakeRValue(), temporaries, boundTemp) 94Dim capture As BoundAssignmentOperator = CaptureInATemp(containingMember, receiverOpt.MakeRValue(), temporaries, boundTemp) 317receiver = New Result(CaptureInATemp(containingMember, receiverOpt.MakeRValue(), arg, boundTemp), boundTemp) 320Dim capture As BoundAssignmentOperator = CaptureInATemp(containingMember, receiverOpt.MakeRValue(), arg, boundTemp) 342Dim clone As BoundAssignmentOperator = CaptureInATemp(containingMember, receiver.Second.MakeRValue(), arg, cloneTemp) 358ImmutableArray.Create(Of BoundExpression)(receiver.First.MakeRValue()),
Lowering\WithExpressionRewriter.vb (1)
105value = value.MakeRValue()
Symbols\Source\SynthesizedEntryPointSymbol.vb (1)
212receiverOpt:=receiver.MakeRValue(),