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 1215Public Overrides ReadOnly Property IsLValue As Boolean 1257Public Overrides ReadOnly Property IsLValue As Boolean 1833Public Overrides ReadOnly Property IsLValue As Boolean 3083Public Overrides ReadOnly Property IsLValue As Boolean 4154Public Overrides ReadOnly Property IsLValue As Boolean 4244Public Overrides ReadOnly Property IsLValue As Boolean 6182Public Overrides ReadOnly Property IsLValue As Boolean 6239Public Overrides ReadOnly Property IsLValue As Boolean 6301Public Overrides ReadOnly Property IsLValue As Boolean
112 references to IsLValue
Microsoft.CodeAnalysis.VisualBasic (109)
Analysis\FlowAnalysis\AbstractFlowPass.vb (2)
1194If receiverOpt IsNot Nothing AndAlso receiverOpt.IsLValue Then 1219Debug.Assert(receiver.IsLValue)
Binding\Binder_ConditionalAccess.vb (1)
44If Not boundExpression.IsLValue Then
Binding\Binder_Delegates.vb (1)
1100Debug.Assert(Not actualReceiver.IsLValue) ' See the comment below why this is important.
Binding\Binder_Expressions.vb (8)
925If Not receiver.IsLValue AndAlso Not receiver.IsPropertyOrXmlPropertyAccess() Then 1357If expr.IsLValue Then 1736receiver.IsLValue() OrElse 1758Return expression.IsLValue 1836Not receiver.IsLValue() AndAlso 2135Debug.Assert(Not testExpression.IsLValue) 3728If Not left.IsLValue AndAlso left.Kind <> BoundKind.LateMemberAccess Then 3887If expr.IsLValue Then
Binding\Binder_Invocation.vb (4)
268If Not target.IsLValue AndAlso target.Kind <> BoundKind.LateMemberAccess Then 2493If Not (argument.IsLValue() AndAlso targetType.IsSameTypeIgnoringAll(argument.Type)) Then 2839Dim isLValue As Boolean = argument.IsLValue() 2974Debug.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)
1552If Not collectionExpression.IsLValue AndAlso Not collectionExpression.IsNothingLiteral Then 3385If Not collection.IsLValue AndAlso Not collection.IsNothingLiteral Then 3607isLValue = controlVariable.IsLValue()
Binding\Binder_WithBlock.vb (2)
212If Not boundExpression.IsLValue Then 227If 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)
237Debug.Assert(left.IsLValue) 260Debug.Assert(rewrittenRight.IsLValue) 394Debug.Assert(Not rewritten.IsLValue) 397Debug.Assert(operand.IsLValue) 684If node.IsLValue Then 685Debug.Assert(result.IsLValue)
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Spilling.vb (4)
245ElseIf isReceiver OrElse expr.IsLValue Then 255Debug.Assert(isReceiver OrElse expr.IsLValue) 350Debug.Assert(Not expr.IsLValue, "stack spilling for lvalue: " + expr.Kind.ToString()) 356Debug.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)
461ElseIf receiverOpt.IsLValue Then
Lowering\IteratorRewriter\IteratorRewriter.IteratorMethodToClassRewriter.vb (1)
220Return Me.F.Field(framePointer, proxyFieldParented, origExpression.IsLValue)
Lowering\LambdaRewriter\LambdaRewriter.vb (1)
401origExpression.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)
527Dim baseIsNotLValue As Boolean = memberAccess.ReceiverOpt IsNot Nothing AndAlso Not memberAccess.ReceiverOpt.IsLValue 606Dim baseIsNotLValue As Boolean = invocation.Member IsNot Nothing AndAlso Not invocation.Member.IsLValue
Lowering\UseTwiceRewriter.vb (20)
67Debug.Assert(result.First.IsLValue = result.Second.IsLValue AndAlso result.Second.IsLValue = value.IsLValue) 84ElseIf receiverOpt.IsLValue AndAlso receiverOpt.Type.IsReferenceType Then 90ElseIf Not receiverOpt.IsLValue AndAlso Not receiverOpt.Type.IsReferenceType AndAlso Not receiverOpt.Type.IsValueType Then 102Debug.Assert(receiver.Second Is Nothing OrElse (receiverOpt.IsLValue = receiver.First.IsLValue AndAlso receiverOpt.IsLValue = receiver.Second.IsLValue)) 112If Not value.IsLValue Then 177Debug.Assert(Not value.IsLValue) 197Debug.Assert(Not first.IsLValue AndAlso Not boundTemp.IsLValue) 252Debug.Assert(lvalue.IsLValue) 313ElseIf receiverOpt.IsLValue AndAlso receiverOpt.Type.IsReferenceType AndAlso 317ElseIf Not receiverOpt.IsLValue AndAlso Not receiverOpt.Type.IsReferenceType AndAlso Not receiverOpt.Type.IsValueType Then 466Debug.Assert(Not boundArgument.IsLValue) 469Debug.Assert(Not result.First.IsLValue AndAlso Not result.Second.IsLValue) 486Debug.Assert(Not boundArray.IsLValue)
Lowering\WithExpressionRewriter.vb (8)
93If value.IsLValue Then 109Debug.Assert(value.IsLValue()) 154Debug.Assert(Not value.IsLValue) 191If value.IsLValue AndAlso value.Type.IsReferenceType Then 199If Not value.IsLValue Then 288If Not value.IsLValue Then 298If Not value.IsLValue() Then 335Debug.Assert(expression.IsLValue)
Semantics\OverloadResolution.vb (1)
3213If argument.IsLValue() AndAlso targetType.IsSameTypeIgnoringAll(argument.Type) Then
Semantics\TypeInference\TypeArgumentInference.vb (1)
553(Expression.IsLValue() OrElse Expression.IsPropertySupportingAssignment()) Then
Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator.ExpressionCompiler (3)
Rewriters\CapturedVariableRewriter.vb (2)
148Return If(TryCast(node, BoundParameter), New BoundParameter(syntax, symbol, node.IsLValue, node.SuppressVirtualCalls, symbol.Type)) 151Dim result = variable.ToBoundExpression(syntax, node.IsLValue, node.SuppressVirtualCalls)
Rewriters\PlaceholderLocalRewriter.vb (1)
30Debug.Assert(result.IsLValue = node.IsLValue)