Skip to content

Commit b1879e1

Browse files
author
Dirk Lemstra
committed
Fixed pragma example.
1 parent e179221 commit b1879e1

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)