Jon Jagger
jon@jaggersoft.com
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 Specificationpreviousnextprevious at this levelnext at this level 13 Conversionsprevious at this levelnext at this level 13.4 User-defined conversionsprevious at this levelnext at this level 13.4.2 Evaluation of user-defined conversions Paragraph 11 A user-defined conversion converts a value from its type, called the source type, to another type, called the target type. 2 Evaluation of a user-defined conversion centers on finding the most specific user-defined conversion operator for the particular source and target types. 3 This determination is broken into several steps: Paragraph 21 Once a most specific user-defined conversion operator has been identified, the actual execution of the user-defined conversion involves up to three steps: Paragraph 31 Evaluation of a user-defined conversion never involves more than one user-defined conversion operator. 2 In other words, a conversion from type S to type T will never first execute a user-defined conversion from S to X and then execute a user-defined conversion from X to T. Paragraph 41 Exact definitions of evaluation of user-defined implicit or explicit conversions are given in the following sections. 2 The definitions make use of the following terms:
{ JSL }
Jagger Software Ltd
Company # 4070126
VAT # 762 5213 42
Valid HTML 4.01Valid CSS