Skip to content

Commit 594025f

Browse files
authored
Merge pull request #2250 from dlemstra/SA1310
Fixed pragma example.
2 parents d6bd197 + b1879e1 commit 594025f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

documentation/SA1310.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@ To fix a violation of this rule, remove the underscore from the name of the fiel
3636
```
3737

3838
```csharp
39-
#pragma warning disable //
40-
#pragma warning restore //
39+
#pragma warning disable SA1310 // FieldNamesMustNotContainUnderscore
40+
#pragma warning restore SA1310 // FieldNamesMustNotContainUnderscore
4141
```

0 commit comments

Comments
 (0)