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