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