15 instantiations of Result
Microsoft.CodeAnalysis.VisualBasic (15)
Lowering\UseTwiceRewriter.vb (15)
51
Return New
Result
(memberAccess.Update(result.First), memberAccess.Update(result.Second))
85
receiver = New
Result
(Nothing, Nothing)
129
Return New
Result
(value, value)
175
Return New
Result
(value, value)
190
Return New
Result
(value, second)
200
Return New
Result
(first, boundTemp)
244
Return New
Result
(first, second)
261
Return New
Result
(first, second)
276
Return New
Result
(node, second)
279
Return New
Result
(node, node)
312
receiver = New
Result
(Nothing, Nothing)
314
receiver = New
Result
(receiverOpt, Nothing)
414
Return New
Result
(first, second)
475
Return New
Result
(first, second)
497
Return New
Result
(first, second)
19 references to Result
Microsoft.CodeAnalysis.VisualBasic (19)
Lowering\LocalRewriter\LocalRewriter_AssignmentOperator.vb (2)
67
Dim useTwice As UseTwiceRewriter.
Result
= UseTwiceRewriter.UseTwice(Me._currentMethodOrLambda, assignmentTarget, isForRegularCompoundAssignment:=True, temporaries)
264
Dim useTwice As UseTwiceRewriter.
Result
= UseTwiceRewriter.UseTwice(Me._currentMethodOrLambda, assignmentTarget, isForRegularCompoundAssignment:=False, temporaries)
Lowering\LocalRewriter\LocalRewriter_Call.vb (1)
303
Dim useTwice As UseTwiceRewriter.
Result
= UseTwiceRewriter.UseTwice(Me._currentMethodOrLambda, originalArgument, isForRegularCompoundAssignment:=False, tempsArray)
Lowering\LocalRewriter\LocalRewriter_RedimClause.vb (1)
34
Dim result As UseTwiceRewriter.
Result
= UseTwiceRewriter.UseTwice(Me._currentMethodOrLambda, assignmentTarget, isForRegularCompoundAssignment:=True, temporaries)
Lowering\UseTwiceRewriter.vb (15)
44
) As
Result
80
) As
Result
82
Dim receiver As
Result
112
) As
Result
167
Private Shared Function UseTwiceRValue(containingMember As Symbol, value As BoundExpression, arg As ArrayBuilder(Of SynthesizedLocal)) As
Result
206
Private Shared Function UseTwiceCall(containingMember As Symbol, node As BoundCall, arg As ArrayBuilder(Of SynthesizedLocal)) As
Result
211
Private Shared Function UseTwiceArrayAccess(containingMember As Symbol, node As BoundArrayAccess, arg As ArrayBuilder(Of SynthesizedLocal)) As
Result
253
Private Shared Function UseTwiceLValue(containingMember As Symbol, lvalue As BoundExpression, temporaries As ArrayBuilder(Of SynthesizedLocal)) As
Result
264
Private Shared Function UseTwiceFieldAccess(containingMember As Symbol, node As BoundFieldAccess, arg As ArrayBuilder(Of SynthesizedLocal)) As
Result
304
Private Shared Function UseTwicePropertyAccess(containingMember As Symbol, node As BoundPropertyAccess, isForRegularCompoundAssignment As Boolean, arg As ArrayBuilder(Of SynthesizedLocal)) As
Result
309
Dim receiver As
Result
417
Private Shared Function UseTwiceLateInvocation(containingMember As Symbol, node As BoundLateInvocation, arg As ArrayBuilder(Of SynthesizedLocal)) As
Result
419
Dim receiver As
Result
478
Private Shared Function UseTwiceLateMember(containingMember As Symbol, node As BoundLateMemberAccess, arg As ArrayBuilder(Of SynthesizedLocal)) As
Result
480
Dim receiver As
Result
= UseTwiceLateBoundReceiver(containingMember, node.ReceiverOpt, arg)