Overload resolution does not prefer method that would need less conversions #14318
Labels
Area-Compiler-Checking
Type checking, attributes and all aspects of logic checking
Feature Improvement
Needs-RFC
Milestone
Found in #14302
I would say we should prefer the first overload here instead of failing with an overload error.
https://sharplab.io/#v2:EYLgxg9gTgpgtADwGwBYA0AbEAzAzgHwBcBPABxgAIBZACgEoKBeAWACgKOLdCBDQgSzAUAtjGHAYUCgEEawkBX4A7Qqgo8oUHsTQUlC5apQNGFAIxtOXXgKGjxkmXIUBlYtzEA6AEoweAEwB5JQxiF1IeJQAeQ1QAPl19RRVUEwoAJjY2DBhCCkIYbnomak9ZAG18MwAGABl8AF1dMzogA=
The text was updated successfully, but these errors were encountered: