16 overrides of IsLValue
Microsoft.CodeAnalysis.VisualBasic (16)
BoundTree\BoundLValuePlaceholderBase.vb (1)
14
Public NotOverridable Overrides ReadOnly Property
IsLValue
As Boolean
BoundTree\BoundSequence.vb (1)
14
Public Overrides ReadOnly Property
IsLValue
As Boolean
BoundTree\BoundSequencePointExpression.vb (1)
21
Public Overrides ReadOnly Property
IsLValue
As Boolean
BoundTree\BoundSpillSequence.vb (1)
9
Public Overrides ReadOnly Property
IsLValue
As Boolean
BoundTree\BoundValueTypeMeReference.vb (1)
20
Public Overrides ReadOnly Property
IsLValue
As Boolean
Generated\BoundNodes.xml.Generated.vb (11)
733
Public Overrides ReadOnly Property
IsLValue
As Boolean
790
Public Overrides ReadOnly Property
IsLValue
As Boolean
1234
Public Overrides ReadOnly Property
IsLValue
As Boolean
1276
Public Overrides ReadOnly Property
IsLValue
As Boolean
1852
Public Overrides ReadOnly Property
IsLValue
As Boolean
3102
Public Overrides ReadOnly Property
IsLValue
As Boolean
4173
Public Overrides ReadOnly Property
IsLValue
As Boolean
4263
Public Overrides ReadOnly Property
IsLValue
As Boolean
6201
Public Overrides ReadOnly Property
IsLValue
As Boolean
6265
Public Overrides ReadOnly Property
IsLValue
As Boolean
6327
Public Overrides ReadOnly Property
IsLValue
As Boolean
111 references to IsLValue
Microsoft.CodeAnalysis.VisualBasic (111)
Analysis\FlowAnalysis\AbstractFlowPass.vb (2)
1216
If receiverOpt IsNot Nothing AndAlso receiverOpt.
IsLValue
Then
1235
Debug.Assert(receiver.
IsLValue
)
Analysis\IteratorAndAsyncAnalysis\IteratorAndAsyncCaptureWalker.vb (1)
220
If receiverOpt IsNot Nothing AndAlso Not receiverOpt.
IsLValue
Then
Binding\Binder_ConditionalAccess.vb (1)
44
If Not boundExpression.
IsLValue
Then
Binding\Binder_Delegates.vb (1)
1097
Debug.Assert(Not actualReceiver.
IsLValue
) ' See the comment below why this is important.
Binding\Binder_Expressions.vb (8)
946
If Not receiver.
IsLValue
AndAlso Not receiver.IsPropertyOrXmlPropertyAccess() Then
1378
If expr.
IsLValue
Then
1761
receiver.
IsLValue
() OrElse
1783
Return expression.
IsLValue
1861
Not receiver.
IsLValue
() AndAlso
2160
Debug.Assert(Not testExpression.
IsLValue
)
3755
If Not left.
IsLValue
AndAlso left.Kind <> BoundKind.LateMemberAccess Then
3914
If expr.
IsLValue
Then
Binding\Binder_Invocation.vb (4)
268
If Not target.
IsLValue
AndAlso target.Kind <> BoundKind.LateMemberAccess Then
2487
If Not (argument.
IsLValue
() AndAlso targetType.IsSameTypeIgnoringAll(argument.Type)) Then
2833
Dim isLValue As Boolean = argument.
IsLValue
()
2968
Debug.Assert(Not argument.
IsLValue
)
Binding\Binder_Lambda.vb (2)
667
Debug.Assert(Not argument.
IsLValue
())
763
Return receiverOpt.
IsLValue
()
Binding\Binder_Latebound.vb (2)
69
If receiver IsNot Nothing AndAlso Not receiver.
IsLValue
Then
223
If receiver IsNot Nothing AndAlso Not receiver.
IsLValue
AndAlso receiver.Kind <> BoundKind.LateMemberAccess Then
Binding\Binder_Statements.vb (3)
1581
If Not collectionExpression.
IsLValue
AndAlso Not collectionExpression.IsNothingLiteral Then
3414
If Not collection.
IsLValue
AndAlso Not collection.IsNothingLiteral Then
3636
isLValue = controlVariable.
IsLValue
()
Binding\Binder_WithBlock.vb (2)
215
If Not boundExpression.
IsLValue
Then
238
If boundExpression.
IsLValue
OrElse boundExpression.IsMeReference Then
BoundTree\BoundArrayAccess.vb (2)
33
Debug.Assert(Not Me.Expression.
IsLValue
)
36
Debug.Assert(Not index.
IsLValue
)
BoundTree\BoundAssignmentOperator.vb (1)
54
Debug.Assert(Left.
IsLValue
OrElse Left.IsPropertyOrXmlPropertyAccess() OrElse Left.IsLateBound)
BoundTree\BoundCall.vb (1)
89
If Not (parameter.IsByRef AndAlso argument.
IsLValue
) Then
BoundTree\BoundExpression.vb (1)
64
Debug.Assert(Not
IsLValue
)
BoundTree\BoundExpressionExtensions.vb (2)
208
If node.
IsLValue
Then
638
Debug.Assert(Not node.
IsLValue
)
BoundTree\BoundLValueToRValueWrapper.vb (1)
15
Debug.Assert(UnderlyingLValue.
IsLValue
)
BoundTree\BoundQuerySource.vb (1)
15
Debug.Assert(source.IsValue() AndAlso Not source.
IsLValue
)
BoundTree\BoundReferenceAssignment.vb (1)
14
Debug.Assert(ByRefLocal.LocalSymbol.IsByRef AndAlso LValue.
IsLValue
AndAlso TypeSymbol.Equals(Type, LValue.Type, TypeCompareKind.ConsiderEverything))
BoundTree\BoundSequence.vb (3)
17
Return Me.ValueOpt IsNot Nothing AndAlso Me.ValueOpt.
IsLValue
40
If Not ValueOpt.
IsLValue
Then
47
Debug.Assert(val.IsValue AndAlso Not val.
IsLValue
AndAlso val.Type IsNot Nothing)
BoundTree\BoundSequencePointExpression.vb (2)
23
Return Me.Expression.
IsLValue
32
If Expression.
IsLValue
Then
BoundTree\BoundSpillSequence.vb (1)
11
Return If(Me.ValueOpt IsNot Nothing, Me.ValueOpt.
IsLValue
, False)
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Await.vb (1)
280
Return proxy.Materialize(Me, origExpression.
IsLValue
)
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Expressions.vb (6)
308
Debug.Assert(left.
IsLValue
)
331
Debug.Assert(rewrittenRight.
IsLValue
)
465
Debug.Assert(Not rewritten.
IsLValue
)
468
Debug.Assert(operand.
IsLValue
)
785
If node.
IsLValue
Then
786
Debug.Assert(result.
IsLValue
)
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Spilling.vb (4)
216
ElseIf isReceiver OrElse expr.
IsLValue
Then
226
Debug.Assert(isReceiver OrElse expr.
IsLValue
)
376
Debug.Assert(Not expr.
IsLValue
, "stack spilling for lvalue: " + expr.Kind.ToString())
382
Debug.Assert(Not expr.
IsLValue
)
Lowering\AsyncRewriter\AsyncRewriter.CapturedSymbolOrExpression.vb (1)
120
Debug.Assert(Not expr.
IsLValue
)
Lowering\AsyncRewriter\AsyncRewriter.vb (5)
409
Debug.Assert(Not expression.
IsLValue
)
431
If Not expression.
IsLValue
Then
439
If Not expression.
IsLValue
Then
460
Debug.Assert(Not expression.
IsLValue
, "Need to support LValues of type " + expression.GetType.Name)
598
Debug.Assert(Not result.
IsLValue
)
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter.vb (1)
476
ElseIf receiverOpt.
IsLValue
Then
Lowering\IteratorRewriter\IteratorRewriter.IteratorMethodToClassRewriter.vb (1)
225
Return Me.F.Field(framePointer, proxyFieldParented, origExpression.
IsLValue
)
Lowering\LambdaRewriter\LambdaRewriter.vb (1)
421
origExpression.
IsLValue
,
Lowering\LocalRewriter\LocalRewriter.vb (8)
76
If placeholder.
IsLValue
AndAlso value.Kind <> BoundKind.MeReference Then
77
Debug.Assert(value.
IsLValue
)
321
Debug.Assert(node.
IsLValue
= result.
IsLValue
OrElse
673
Debug.Assert(Not node.
IsLValue
)
677
If enclosed.
IsLValue
Then
759
Debug.Assert(Not value.
IsLValue
)
777
Debug.Assert(Not valueOpt.
IsLValue
)
Lowering\LocalRewriter\LocalRewriter_AssignmentOperator.vb (3)
31
If nodeLeft.
IsLValue
Then
78
Debug.Assert(assignmentTarget.
IsLValue
)
462
Debug.Assert(node.Left.
IsLValue
AndAlso node.LeftOnTheRightOpt IsNot Nothing AndAlso
Lowering\LocalRewriter\LocalRewriter_Call.vb (4)
182
If parameters(paramIdx).IsByRef AndAlso Not argument.
IsLValue
AndAlso Not _inExpressionLambda Then
188
If Not suppressObjectClone AndAlso (Not parameters(paramIdx).IsByRef OrElse Not rewritten.
IsLValue
) Then
281
If originalArgument.
IsLValue
Then
316
Debug.Assert(secondUse.
IsLValue
)
Lowering\LocalRewriter\LocalRewriter_ForTo.vb (1)
563
Debug.Assert(controlVariable.
IsLValue
)
Lowering\LocalRewriter\LocalRewriter_LateBindingHelpers.vb (2)
523
Dim baseIsNotLValue As Boolean = memberAccess.ReceiverOpt IsNot Nothing AndAlso Not memberAccess.ReceiverOpt.
IsLValue
602
Dim baseIsNotLValue As Boolean = invocation.Member IsNot Nothing AndAlso Not invocation.Member.
IsLValue
Lowering\UseTwiceRewriter.vb (21)
69
Debug.Assert(result.First.
IsLValue
= result.Second.
IsLValue
AndAlso result.Second.
IsLValue
= value.
IsLValue
)
86
ElseIf receiverOpt.
IsLValue
AndAlso receiverOpt.Type.IsReferenceType Then
92
ElseIf Not receiverOpt.
IsLValue
AndAlso Not receiverOpt.Type.IsReferenceType AndAlso Not receiverOpt.Type.IsValueType Then
104
Debug.Assert(receiver.Second Is Nothing OrElse (receiverOpt.
IsLValue
= receiver.First.
IsLValue
AndAlso receiverOpt.
IsLValue
= receiver.Second.
IsLValue
))
114
If Not value.
IsLValue
Then
179
Debug.Assert(Not value.
IsLValue
)
199
Debug.Assert(Not first.
IsLValue
AndAlso Not boundTemp.IsLValue)
254
Debug.Assert(lvalue.
IsLValue
)
315
ElseIf receiverOpt.
IsLValue
AndAlso receiverOpt.Type.IsReferenceType Then
318
ElseIf Not receiverOpt.
IsLValue
AndAlso Not receiverOpt.Type.IsReferenceType AndAlso Not receiverOpt.Type.IsValueType Then
325
ElseIf receiverOpt.
IsLValue
AndAlso
503
Debug.Assert(Not boundArgument.
IsLValue
)
506
Debug.Assert(Not result.First.
IsLValue
AndAlso Not result.Second.
IsLValue
)
523
Debug.Assert(Not boundArray.
IsLValue
)
Lowering\WithExpressionRewriter.vb (8)
100
If value.
IsLValue
Then
116
Debug.Assert(value.
IsLValue
())
161
Debug.Assert(Not value.
IsLValue
)
198
If value.
IsLValue
AndAlso value.Type.IsReferenceType Then
206
If Not value.
IsLValue
Then
296
If Not value.
IsLValue
Then
306
If Not value.
IsLValue
() Then
367
Debug.Assert(expression.
IsLValue
)
Semantics\OverloadResolution.vb (1)
3573
If argument.
IsLValue
() AndAlso targetType.IsSameTypeIgnoringAll(argument.Type) Then
Semantics\TypeInference\TypeArgumentInference.vb (1)
547
(Expression.
IsLValue
() OrElse Expression.IsPropertySupportingAssignment()) Then