1 write to Second
Microsoft.CodeAnalysis.VisualBasic (1)
Lowering\UseTwiceRewriter.vb (1)
21
Me.
Second
= second
27 references to Second
Microsoft.CodeAnalysis.VisualBasic (27)
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)
890
writeTarget = useTwice.
Second
.SetAccessKind(PropertyAccessKind.Set)
893
writeTarget = useTwice.
Second
.SetLateBoundAccessKind(LateBoundAccessKind.Set)
896
writeTarget = useTwice.
Second
Lowering\LocalRewriter\LocalRewriter_RedimClause.vb (1)
39
Dim arrayValueAccess = result.
Second
Lowering\UseTwiceRewriter.vb (17)
49
Return New Result(memberAccess.Update(result.First), memberAccess.Update(result.
Second
))
67
Debug.Assert(result.First.IsLValue = result.
Second
.IsLValue AndAlso result.
Second
.IsLValue = value.IsLValue)
102
Debug.Assert(receiver.
Second
Is Nothing OrElse (receiverOpt.IsLValue = receiver.First.IsLValue AndAlso receiverOpt.IsLValue = receiver.
Second
.IsLValue))
235
indicesSecond(i) = result.
Second
372
receiverOpt:=receiver.
Second
,
431
receiver.
Second
,
455
receiver.
Second
,
469
Debug.Assert(Not result.First.IsLValue AndAlso Not result.
Second
.IsLValue)
470
Debug.Assert(result.First.HasErrors = result.
Second
.HasErrors AndAlso boundArgument.HasErrors = result.First.HasErrors)
472
(result.
Second
.Kind = BoundKind.Literal AndAlso result.First.ConstantValueOpt IsNot Nothing) OrElse
473
(result.
Second
.Kind = BoundKind.Local AndAlso result.
Second
.WasCompilerGenerated AndAlso
474
DirectCast(result.
Second
, BoundLocal).LocalSymbol.IsCompilerGenerated AndAlso
477
DirectCast(result.
Second
, BoundLocal).LocalSymbol Is DirectCast(DirectCast(result.First, BoundAssignmentOperator).Left, BoundLocal).LocalSymbol))
480
second = result.
Second