5 references to isFunctionType
Microsoft.CodeAnalysis.CSharp (5)
Binder\Semantics\OverloadResolution\MethodTypeInference.cs (5)
2861lowerPredicate = static type => !isFunctionType(type, out _); 2866lowerPredicate = static type => !isFunctionType(type, out var functionType) || functionType.GetInternalDelegateType() is not null; 2957if (isFunctionType(best, out var functionType)) 2975return types?.Any(t => isFunctionType(t, out _)) == true; 2980return types?.Any(t => !isFunctionType(t, out _)) == true;