Skip to content

Commit ee25423

Browse files
BillWagnerjskeet
authored andcommitted
respond to feedback
1 parent ac40ad6 commit ee25423

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

standard/variables.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ The definite-assignment state of *v* on the control flow transfer to a reachable
343343
- If *v* is a pattern variable declared in the *switch_label*: “definitely assigned”.
344344
- Otherwise, the state of *v* is the same as the stat of *v* after *expr*.
345345
346-
> *Example*: The third rule eliminates the need for the compiler to warn if an unassigned variable is accessed in unreachable code. The state of *b* is "definitely assigned" in the unreachable switch label `case 2 when b`.
346+
> *Example*: The third rule eliminates the need for the compiler to issue an error if an unassigned variable is accessed in unreachable code. The state of *b* is "definitely assigned" in the unreachable switch label `case 2 when b`.
347347
>
348348
> ```csharp
349349
> bool b;

0 commit comments

Comments
 (0)