ECMA-334 C# Language Specification15.2.1: Statement lists |
A statement list consists of one or more statements written in sequence. Statement lists occur in blocks (15.2) and in switch-block
s (15.7.2).
statement
statement-list
statement
A statement list is executed by transferring control to the first statement. When and if control reaches the end point of a statement, control is transferred to the next statement. When and if control reaches the end point of the last statement, control is transferred to the end point of the statement list.
A statement in a statement list is reachable if at least one of the following is true:
The end point of a statement list is reachable if the end point of the last statement in the list is reachable.