1 write to ReceiverOpt
Microsoft.CodeAnalysis.VisualBasic (1)
Binding\Binder_Delegates.vb (1)
273addressOfExpression.MethodGroup.ReceiverOpt,
45 references to ReceiverOpt
Microsoft.CodeAnalysis.VisualBasic (45)
Analysis\FlowAnalysis\AbstractFlowPass.vb (5)
1179Dim originalReceiver As BoundExpression = If(methodGroup IsNot Nothing, methodGroup.ReceiverOpt, Nothing) 1307Dim originalReceiver As BoundExpression = If(methodGroup IsNot Nothing, methodGroup.ReceiverOpt, Nothing) 1721Dim originalReceiver As BoundExpression = If(propertyGroup IsNot Nothing, propertyGroup.ReceiverOpt, Nothing) 2364VisitRvalue(node.ReceiverOpt) 2369VisitRvalue(node.ReceiverOpt)
Binding\Binder_Delegates.vb (6)
283Dim receiver As BoundExpression = addressOfExpression.MethodGroup.ReceiverOpt 983Dim receiver As BoundExpression = sourceMethodGroup.ReceiverOpt 1043newReceiver = If(resolvedTypeOrValueReceiver, sourceMethodGroup.ReceiverOpt) 1239methodGroup.ReceiverOpt IsNot Nothing AndAlso 1240methodGroup.ReceiverOpt.Kind = BoundKind.Conversion Then 1241Dim receiver = DirectCast(methodGroup.ReceiverOpt, BoundConversion)
Binding\Binder_Expressions.vb (1)
905Dim receiver = group.ReceiverOpt
Binding\Binder_Invocation.vb (7)
73Dim receiver As BoundExpression = boundMemberGroup.ReceiverOpt 687methodGroup.ReceiverOpt, 852Dim receiver As BoundExpression = group.ReceiverOpt 929Dim newReceiver As BoundExpression = If(receiver IsNot Nothing, Nothing, If(resolvedTypeOrValueReceiver, methodGroup.ReceiverOpt)) 967Dim newReceiver As BoundExpression = If(receiver IsNot Nothing, Nothing, If(resolvedTypeOrValueReceiver, propertyGroup.ReceiverOpt)) 1303If result Is node AndAlso (groupOpt.ReceiverOpt Is Nothing OrElse groupOpt.ReceiverOpt.Syntax Is result) Then
Binding\Binder_Latebound.vb (2)
131Debug.Assert(groupOpt Is Nothing OrElse groupOpt.ReceiverOpt Is Nothing OrElse groupOpt.ReceiverOpt.Kind <> BoundKind.TypeOrValueExpression)
Binding\Binder_ObjectInitializer.vb (1)
447LookupResult.WorseResultKind(constructorsGroup.ResultKind, badExpression.ResultKind), constructorsGroup.ReceiverOpt,
Binding\Binder_Query.vb (1)
4636(methodGroup.ReceiverOpt Is source AndAlso
Binding\MemberSemanticModel.vb (7)
2271Debug.Assert(boundGroup.ReceiverOpt Is Nothing OrElse receiver Is Nothing) 2277Me.Visit(boundGroup.ReceiverOpt) 2294Debug.Assert(boundGroup.ReceiverOpt Is Nothing OrElse receiver Is Nothing) 2300Me.Visit(boundGroup.ReceiverOpt) 2388Debug.Assert(boundGroup.ReceiverOpt Is Nothing OrElse receiver Is Nothing) 2394Me.Visit(boundGroup.ReceiverOpt) 2474Visit(node.MethodOrPropertyGroupOpt.ReceiverOpt)
BoundTree\BoundCall.vb (1)
75Debug.Assert(Me.ReceiverOpt Is Nothing OrElse Me.MethodGroupOpt Is Nothing OrElse Me.MethodGroupOpt.ReceiverOpt Is Nothing)
BoundTree\BoundMethodGroup.vb (1)
59Dim receiverOpt As BoundExpression = group.ReceiverOpt
BoundTree\BoundPropertyAccess.vb (1)
67Debug.Assert(Me.ReceiverOpt Is Nothing OrElse Me.PropertyGroupOpt Is Nothing OrElse Me.PropertyGroupOpt.ReceiverOpt Is Nothing)
BoundTree\Expression.vb (2)
51If Me.ReceiverOpt IsNot Nothing Then 52Return ImmutableArray.Create(Of BoundNode)(Me.ReceiverOpt)
Generated\BoundNodes.xml.Generated.vb (8)
2728If typeArgumentsOpt IsNot Me.TypeArgumentsOpt OrElse methods <> Me.Methods OrElse pendingExtensionMethodsOpt IsNot Me.PendingExtensionMethodsOpt OrElse resultKind <> Me.ResultKind OrElse receiverOpt IsNot Me.ReceiverOpt OrElse qualificationKind <> Me.QualificationKind Then 2770If properties <> Me.Properties OrElse resultKind <> Me.ResultKind OrElse receiverOpt IsNot Me.ReceiverOpt OrElse qualificationKind <> Me.QualificationKind Then 11351Me.Visit(node.ReceiverOpt) 11356Me.Visit(node.ReceiverOpt) 12346Dim receiverOpt As BoundExpression = DirectCast(Me.Visit(node.ReceiverOpt), BoundExpression) 12352Dim receiverOpt As BoundExpression = DirectCast(Me.Visit(node.ReceiverOpt), BoundExpression) 13543New TreeDumperNode("receiverOpt", Nothing, new TreeDumperNode() {Visit(node.ReceiverOpt, Nothing)}), 13553New TreeDumperNode("receiverOpt", Nothing, new TreeDumperNode() {Visit(node.ReceiverOpt, Nothing)}),
Semantics\OverloadResolution.vb (2)
2867Debug.Assert(Not candidate.Candidate.UnderlyingSymbol.IsReducedExtensionMethod() OrElse methodOrPropertyGroup.ReceiverOpt IsNot Nothing OrElse TypeOf methodOrPropertyGroup.SyntaxTree Is DummySyntaxTree) 3077receiverOpt = methodOrPropertyGroup.ReceiverOpt