You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: documentation/Configuration.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -420,7 +420,7 @@ The following properties are used to configure layout rules in StyleCop Analyzer
420
420
| --- | --- | --- | --- |
421
421
|`newlineAtEndOfFile`|`"allow"`| 1.0.0 | Specifies the handling for newline characters which appear at the end of a file |
422
422
|`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 |
424
424
425
425
### Lines at End of File
426
426
@@ -444,10 +444,10 @@ require braces to used.
444
444
445
445
### Do-While Loop Placement
446
446
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:
448
448
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
0 commit comments