Inspired from this answer of question
Is empty case of switch in C# combined with the next non-empty one?
The only occurence of this terminology is appeared in §6.5 of C# Language Specification
- If
D
has a non-void return type and the body ofF
is a statement block, when each parameter ofF
is given the type of the corresponding parameter inD
, the body ofF
is a valid statement block (wrt §8.2) with a non-reachable end point in which each return statement specifies an expression that is implicitly convertible to the return type ofD
.
Latter in the specification we can see
8.1 End points and reachability
Every statement has an end point. In intuitive terms, the end point of a statement is the location that immediately follows the statement. The execution rules for composite statements (statements that contain embedded statements) specify the action that is taken when control reaches the end point of an embedded statement. For example, when control reaches the end point of a statement in a block, control is transferred to the next statement in the block.
...
And we might have some sense of it. However, I googled and found there's no a directly explanation of non-reachable endpoint. Because Stack Overflow is a Q&A site, I would think if there is a simpler and more intuitive explanation, can easily be searched and understand of this terminology would be helpful for programmers especially who are not native English speakers.