9 references to ReplaceTypeOrValueReceiver
Microsoft.CodeAnalysis.CSharp (9)
Binder\Binder_Expressions.cs (4)
7972boundLeft = ReplaceTypeOrValueReceiver(boundLeft, useType: false, diagnostics); 8270left = ReplaceTypeOrValueReceiver(left, symbol.IsStatic || symbol.Kind == SymbolKind.NamedType, diagnostics); 9717receiver = ReplaceTypeOrValueReceiver(typeOrValue, useType, diagnostics); 9848receiver = ReplaceTypeOrValueReceiver(receiver, property.IsStatic, diagnostics);
Binder\Binder_Invocation.cs (3)
449BoundExpression finalReceiver = ReplaceTypeOrValueReceiver(typeOrValue, useType, diagnostics); 1195var receiver = ReplaceTypeOrValueReceiver(methodGroup.Receiver, !method.RequiresInstanceReceiver && !invokedAsExtensionMethod, diagnostics); 1867var replaced = ReplaceTypeOrValueReceiver(value, useType, diagnostics);
Binder\Binder_Symbols.cs (2)
1463receiver = ReplaceTypeOrValueReceiver(receiver, useType: false, discarded ?? diagnostics); 1475receiver = ReplaceTypeOrValueReceiver(receiver, useType: true, diagnostics);