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/SA1013.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ A closing brace within a C# element is not spaced correctly.
23
23
24
24
A violation of this rule occurs when the spacing around a closing brace is not correct.
25
25
26
-
A closing brace should always be followed by a single space, unless it is the last character on the line, or unless it is followed by a closing parenthesis, a comma, or a semicolon.
26
+
A closing brace should always be followed by a single space, unless it is the last character on the line, or unless it is followed by a closing parenthesis, a comma, or a semicolon. The null-forgiving operator (`!`) may also appear immediately after a closing brace without a space (for example, `new Foo { Value = null }!`).
27
27
28
28
A closing brace should always be preceded by a single space, unless it is the first character on the line.
0 commit comments