Skip to content

Commit b7b557e

Browse files
committed
Document known behavior change in SA1025
1 parent 50d53f7 commit b7b557e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

documentation/KnownChanges.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,8 @@ uint value = (uint)3;
117117

118118
### SA1025
119119

120-
StyleCop Classic allowed multiple spaces to precede a comment placed at the end of a line, such as the following:
120+
:warning: StyleCop Classic allowed multiple spaces to precede a comment placed at the end of a line, such as the
121+
following:
121122

122123
```csharp
123124
int x; // comment
@@ -130,7 +131,8 @@ int xyz = 1;
130131
int w = 1;
131132
```
132133

133-
StyleCop Analyzers does not currently make an exception to the SA1025 rule for these cases.
134+
StyleCop Analyzers does not currently make an exception to the SA1025 rule for these cases, including aligned operators
135+
like the `=` values in flag enums ([#3684](https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3684)).
134136

135137
## Readability Rules
136138

0 commit comments

Comments
 (0)