X hits on this document

788 views

0 shares

0 downloads

0 comments

6 / 396

C# LANGUAGE SPECIFICATION

5.3.3.25 ! expressions93

5.3.3.26 ?: expressions94

5.4 Variable references94

5.5 Atomicity of variable references94

6. Conversions95

6.1 Implicit conversions95

6.1.1 Identity conversion95

6.1.2 Implicit numeric conversions95

6.1.3 Implicit enumeration conversions96

6.1.4 Implicit reference conversions96

6.1.5 Boxing conversions96

6.1.6 Implicit constant expression conversions97

6.1.7 User-defined implicit conversions97

6.2 Explicit conversions97

6.2.1 Explicit numeric conversions97

6.2.2 Explicit enumeration conversions99

6.2.3 Explicit reference conversions99

6.2.4 Unboxing conversions100

6.2.5 User-defined explicit conversions100

6.3 Standard conversions100

6.3.1 Standard implicit conversions100

6.3.2 Standard explicit conversions100

6.4 User-defined conversions101

6.4.1 Permitted user-defined conversions101

6.4.2 Evaluation of user-defined conversions101

6.4.3 User-defined implicit conversions102

6.4.4 User-defined explicit conversions102

7. Expressions105

7.1 Expression classifications105

7.1.1 Values of expressions106

7.2 Operators106

7.2.1 Operator precedence and associativity106

7.2.2 Operator overloading107

7.2.3 Unary operator overload resolution108

7.2.4 Binary operator overload resolution109

7.2.5 Candidate user-defined operators109

7.2.6 Numeric promotions109

7.2.6.1 Unary numeric promotions110

7.2.6.2 Binary numeric promotions110

7.3 Member lookup111

7.3.1 Base types111

7.4 Function members112

7.4.1 Argument lists114

7.4.2 Overload resolution116

7.4.2.1 Applicable function member117

7.4.2.2 Better function member118

7.4.2.3 Better conversion118

7.4.3 Function member invocation118

7.4.3.1 Invocations on boxed instances119

viCopyright Microsoft Corporation 1999-2003. All Rights Reserved.

Document info
Document views788
Page views788
Page last viewedSat Dec 03 18:30:36 UTC 2016
Pages396
Paragraphs9401
Words133190

Comments