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


12 Variables
12.3 Definite assignment
12.3.3 Precise rules for determining definite assignment
12.3.3.12 Return statements
Paragraph 11 For a statement stmt of the form
return expr ;
- 2 The definite assignment state of v at the beginning of expr is the same as the definite assignment state of v at the beginning of stmt.
- 3 If v is an output parameter, then it must be definitely assigned either:
- 4 after expr
- 5 or at the end of the finally block of a try-finally or try-catch-finally that encloses the return statement.
|
Jagger Software Ltd |
Company # 4070126 |
VAT # 762 5213 42 |

