2 references to MethodIsCompatibleWithDelegateOrFunctionPointer
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Conversions.cs (1)
3020if (!MethodIsCompatibleWithDelegateOrFunctionPointer(receiverOpt, isExtensionMethod, selectedMethod, delegateOrFuncPtrType, syntax.Location, diagnostics) ||
Binder\Semantics\OverloadResolution\OverloadResolution.cs (1)
3660bool result = !_binder.MethodIsCompatibleWithDelegateOrFunctionPointer(node.ReceiverOpt, conv.IsExtensionMethod, conv.Method, delegateType, Location.None, BindingDiagnosticBag.Discarded);