Skip to content

Commit 299b061

Browse files
committed
Document known behavior change in SA1514
Closes #1280
1 parent b7b557e commit 299b061

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

documentation/KnownChanges.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,13 @@ There are no known changes at this time.
233233

234234
## Layout Rules
235235

236+
### SA1514
237+
238+
:warning: While StyleCop Classic generally did not allow `#region` directives to appear in code (SA1124), it may have
239+
indirectly allowed an element documentation header to immediately follow a `#region` directive without a blank line
240+
(i.e. did not report SA1514). StyleCop Analyzers treats the `#region` as preceding content, so SA1514 is reported unless
241+
you add a blank line after the directive ([#1280](https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/1280)).
242+
236243
### SA1515
237244

238245
:warning: The following code does not report a warning in StyleCop Classic:

0 commit comments

Comments
 (0)