1 write to Second
Microsoft.CodeAnalysis.VisualBasic (1)
Lowering\UseTwiceRewriter.vb (1)
22
Me.
Second
= second
30 references to Second
Microsoft.CodeAnalysis.VisualBasic (30)
Lowering\LocalRewriter\LocalRewriter_AssignmentOperator.vb (3)
75
leftOnTheRight = useTwice.
Second
.SetAccessKind(PropertyAccessKind.Get)
79
leftOnTheRight = useTwice.
Second
.MakeRValue()
270
leftOnTheRight = useTwice.
Second
.SetLateBoundAccessKind(LateBoundAccessKind.Get)
Lowering\LocalRewriter\LocalRewriter_Call.vb (3)
307
secondUse = useTwice.
Second
.SetAccessKind(If(originalArgument.IsPropertyReturnsByRef(), PropertyAccessKind.Get, PropertyAccessKind.Set))
311
secondUse = useTwice.
Second
.SetLateBoundAccessKind(LateBoundAccessKind.Set)
315
secondUse = useTwice.
Second
Lowering\LocalRewriter\LocalRewriter_LateBindingHelpers.vb (3)
886
writeTarget = useTwice.
Second
.SetAccessKind(PropertyAccessKind.Set)
889
writeTarget = useTwice.
Second
.SetLateBoundAccessKind(LateBoundAccessKind.Set)
892
writeTarget = useTwice.
Second
Lowering\LocalRewriter\LocalRewriter_RedimClause.vb (1)
39
Dim arrayValueAccess = result.
Second
Lowering\UseTwiceRewriter.vb (20)
51
Return New Result(memberAccess.Update(result.First), memberAccess.Update(result.
Second
))
69
Debug.Assert(result.First.IsLValue = result.
Second
.IsLValue AndAlso result.
Second
.IsLValue = value.IsLValue)
104
Debug.Assert(receiver.
Second
Is Nothing OrElse (receiverOpt.IsLValue = receiver.First.IsLValue AndAlso receiverOpt.IsLValue = receiver.
Second
.IsLValue))
237
indicesSecond(i) = result.
Second
342
Dim clone As BoundAssignmentOperator = CaptureInATemp(containingMember, receiver.
Second
.MakeRValue(), arg, cloneTemp)
345
receiver.
Second
,
353
receiver.
Second
,
409
receiverOpt:=receiver.
Second
,
468
receiver.
Second
,
492
receiver.
Second
,
506
Debug.Assert(Not result.First.IsLValue AndAlso Not result.
Second
.IsLValue)
507
Debug.Assert(result.First.HasErrors = result.
Second
.HasErrors AndAlso boundArgument.HasErrors = result.First.HasErrors)
509
(result.
Second
.Kind = BoundKind.Literal AndAlso result.First.ConstantValueOpt IsNot Nothing) OrElse
510
(result.
Second
.Kind = BoundKind.Local AndAlso result.
Second
.WasCompilerGenerated AndAlso
511
DirectCast(result.
Second
, BoundLocal).LocalSymbol.IsCompilerGenerated AndAlso
514
DirectCast(result.
Second
, BoundLocal).LocalSymbol Is DirectCast(DirectCast(result.First, BoundAssignmentOperator).Left, BoundLocal).LocalSymbol))
517
second = result.
Second