Skip to content

Commit

Permalink
fix spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
RexJaeschke authored and BillWagner committed Oct 2, 2022
1 parent d995c56 commit 6c5ff66
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions standard/expressions.md
Original file line number Diff line number Diff line change
Expand Up @@ -562,6 +562,7 @@ The *argument_value* can take one of the following forms:
- Otherwise, *identifier* denotes a new local variable. It is a compile-time error if a variable by that name is currently in scope or if there is not an implicit conversion between the corresponding parameter’s type and *local_variable_type*.

> *Example*:
>
> ```csharp
> static void M(out int x) { … }
> static void CallM1()
Expand All @@ -577,6 +578,7 @@ The *argument_value* can take one of the following forms:
> M(out var _); // OK: typed discard
> }
> ```
>
> *end example*
- If *local_variable_type* is absent
Expand All @@ -585,6 +587,7 @@ The *argument_value* can take one of the following forms:
- Otherwise, *identifier* is interpreted as an untyped discard.

> *Example*:
>
> ```csharp
> static void M(out int x) { … }
> static void CallM2()
Expand All @@ -595,6 +598,7 @@ The *argument_value* can take one of the following forms:
> M(out _); // OK: existing variable
> }
> ```
>
> *end example*
It is also an error to reference an implicitly-typed out variable in the same argument list that immediately contains its declaration.
Expand Down

0 comments on commit 6c5ff66

Please sign in to comment.