Skip to content

Commit 78c2c16

Browse files
Matt ChaulklinMatt Chaulklin
authored andcommitted
Update documentation
1 parent 350bed0 commit 78c2c16

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

StyleCop.Analyzers/StyleCop.Analyzers/SpacingRules/SA1001CommasMustBeSpacedCorrectly.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ internal class SA1001CommasMustBeSpacedCorrectly : DiagnosticAnalyzer
3030
/// The ID for diagnostics produced by the <see cref="SA1001CommasMustBeSpacedCorrectly"/> analyzer.
3131
/// </summary>
3232
public const string DiagnosticId = "SA1001";
33-
3433
private const string HelpLink = "https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1001.md";
3534
private static readonly LocalizableString Title = new LocalizableResourceString(nameof(SpacingResources.SA1001Title), SpacingResources.ResourceManager, typeof(SpacingResources));
3635
private static readonly LocalizableString MessageFormat = new LocalizableResourceString(nameof(SpacingResources.SA1001MessageFormat), SpacingResources.ResourceManager, typeof(SpacingResources));

documentation/SA1001.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ A comma should be followed by a single space, except in the following cases.
2828
* A comma may appear at the end of a line
2929
* A comma should not be followed by a space when used in an open generic type in a `typeof` expression
3030
* A comma is part of a string interpolation alignment component. For example:`$"{x,3}"`
31-
* A comma follows a preprocessor directive. For example:
31+
* A comma follows a conditional preprocessor directive (#if, #elif, #else, #endif). For example:
3232
```csharp
3333
partial struct Money : IFormattable
3434
#if !NETSTANDARD

0 commit comments

Comments
 (0)