Skip to content

Commit c58307c

Browse files
committed
Clarify documentation
1 parent 036d8e9 commit c58307c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

documentation/Configuration.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ The following properties are used to configure layout rules in StyleCop Analyzer
420420
| --- | --- | --- | --- |
421421
| `newlineAtEndOfFile` | `"allow"` | 1.0.0 | Specifies the handling for newline characters which appear at the end of a file |
422422
| `allowConsecutiveUsings` | `true` | 1.1.0 | Specifies if SA1519 will allow consecutive using statements without braces |
423-
| `allowDoWhileOnClosingBrace` | `false` | >1.2.0 | Specifies if SA1500 will allow the `while` expression of a `do-while` loop to be on the same line as the closing brace, as is generated by the default code snippet of Visual Studio |
423+
| `allowDoWhileOnClosingBrace` | `false` | >1.2.0 | Specifies if SA1500 will allow the `while` expression of a `do`/`while` loop to be on the same line as the closing brace, as is generated by the default code snippet of Visual Studio |
424424

425425
### Lines at End of File
426426

@@ -444,10 +444,10 @@ require braces to used.
444444

445445
### Do-While Loop Placement
446446

447-
The behavior of [SA1500](SA1500.md) can be customized regarding the manner in which the `while` expression of a `do-while` loop is allowed to be placed. The `allowDoWhileOnClosingBrace` property specified the behavior:
447+
The behavior of [SA1500](SA1500.md) can be customized regarding the manner in which the `while` expression of a `do`/`while` loop is allowed to be placed. The `allowDoWhileOnClosingBrace` property specified the behavior:
448448

449-
* `true`: the `while` expression of a `do-while` loop may be placed on the same line as the closing brace
450-
* `false`: the `while` expression of a `do-while` loop must be on a separate line from the closing brace
449+
* `true`: the `while` expression of a `do`/`while` loop may be placed on the same line as the closing brace or on a separate line
450+
* `false`: the `while` expression of a `do`/`while` loop must be on a separate line from the closing brace
451451

452452
## Documentation Rules
453453

0 commit comments

Comments
 (0)