19 instantiations of Result
Microsoft.CodeAnalysis.VisualBasic (19)
Lowering\UseTwiceRewriter.vb (19)
49
Return New
Result
(memberAccess.Update(result.First), memberAccess.Update(result.Second))
83
receiver = New
Result
(Nothing, Nothing)
88
receiver = New
Result
(New BoundSequence(capture.Syntax, ImmutableArray(Of LocalSymbol).Empty, ImmutableArray.Create(Of BoundExpression)(capture), boundTemp, boundTemp.Type),
95
receiver = New
Result
(New BoundSequence(capture.Syntax, ImmutableArray(Of LocalSymbol).Empty, ImmutableArray.Create(Of BoundExpression)(capture), boundTemp, boundTemp.Type),
127
Return New
Result
(value, value)
173
Return New
Result
(value, value)
188
Return New
Result
(value, second)
198
Return New
Result
(first, boundTemp)
242
Return New
Result
(first, second)
259
Return New
Result
(first, second)
274
Return New
Result
(node, second)
277
Return New
Result
(node, node)
310
receiver = New
Result
(Nothing, Nothing)
312
receiver = New
Result
(receiverOpt, Nothing)
316
receiver = New
Result
(CaptureInATemp(containingMember, receiverOpt.MakeRValue(), arg, boundTemp), boundTemp)
322
receiver = New
Result
(New BoundSequence(capture.Syntax, ImmutableArray(Of LocalSymbol).Empty, ImmutableArray.Create(Of BoundExpression)(capture), boundTemp, boundTemp.Type),
377
Return New
Result
(first, second)
438
Return New
Result
(first, second)
460
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, temporaries)
264
Dim useTwice As UseTwiceRewriter.
Result
= UseTwiceRewriter.UseTwice(Me._currentMethodOrLambda, assignmentTarget, temporaries)
Lowering\LocalRewriter\LocalRewriter_Call.vb (1)
303
Dim useTwice As UseTwiceRewriter.
Result
= UseTwiceRewriter.UseTwice(Me._currentMethodOrLambda, originalArgument, tempsArray)
Lowering\LocalRewriter\LocalRewriter_RedimClause.vb (1)
34
Dim result As UseTwiceRewriter.
Result
= UseTwiceRewriter.UseTwice(Me._currentMethodOrLambda, assignmentTarget, temporaries)
Lowering\UseTwiceRewriter.vb (15)
42
) As
Result
78
) As
Result
80
Dim receiver As
Result
110
) As
Result
165
Private Shared Function UseTwiceRValue(containingMember As Symbol, value As BoundExpression, arg As ArrayBuilder(Of SynthesizedLocal)) As
Result
204
Private Shared Function UseTwiceCall(containingMember As Symbol, node As BoundCall, arg As ArrayBuilder(Of SynthesizedLocal)) As
Result
209
Private Shared Function UseTwiceArrayAccess(containingMember As Symbol, node As BoundArrayAccess, arg As ArrayBuilder(Of SynthesizedLocal)) As
Result
251
Private Shared Function UseTwiceLValue(containingMember As Symbol, lvalue As BoundExpression, temporaries As ArrayBuilder(Of SynthesizedLocal)) As
Result
262
Private Shared Function UseTwiceFieldAccess(containingMember As Symbol, node As BoundFieldAccess, arg As ArrayBuilder(Of SynthesizedLocal)) As
Result
302
Private Shared Function UseTwicePropertyAccess(containingMember As Symbol, node As BoundPropertyAccess, arg As ArrayBuilder(Of SynthesizedLocal)) As
Result
307
Dim receiver As
Result
380
Private Shared Function UseTwiceLateInvocation(containingMember As Symbol, node As BoundLateInvocation, arg As ArrayBuilder(Of SynthesizedLocal)) As
Result
382
Dim receiver As
Result
441
Private Shared Function UseTwiceLateMember(containingMember As Symbol, node As BoundLateMemberAccess, arg As ArrayBuilder(Of SynthesizedLocal)) As
Result
443
Dim receiver As
Result
= UseTwiceLateBoundReceiver(containingMember, node.ReceiverOpt, arg)