Table of Contents 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 Notes DownloadECMA-334 C# Language Specification


14 Expressions
14.4 Function members
14.4.2 Overload resolution
14.4.2.2 Better function member
Paragraph 11 Given an argument list A with a set of argument types A1, A2, ..., AN and two applicable function members MP and MQ with parameter types P1, P2, ..., PN and Q1, Q2, ..., QN, MP is defined to be a better function member than MQ if - 2 for each argument, the implicit conversion from AX to PX is not worse than the implicit conversion from AX to QX, and
- 3 for at least one argument, the conversion from AX to PX is better than the conversion from AX to QX.
Paragraph 21 When performing this evaluation, if MP or MQ is applicable in its expanded form, then PX or QX refers to a parameter in the expanded form of the parameter list. |
Jagger Software Ltd |
Company # 4070126 |
VAT # 762 5213 42 |

