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