We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 19c05af commit 061cda7Copy full SHA for 061cda7
1 file changed
documentation/IDISP008.md
@@ -62,7 +62,7 @@ Change to
62
public readonly IDisposable Disposable; // We can now check all places it is assigned and hopefully figure out if we should dispose
63
```
64
65
-#### Example public field
+#### Example public property
66
```cs
67
public IDisposable Disposable { get; set; } // could be assigned from the outside so we don't know if disposing it is safe.
68
@@ -99,4 +99,4 @@ Or put this at the top of the file to disable all instances.
99
"IDISP008:Don't assign member with injected and created disposables",
100
Justification = "Reason...")]
101
102
-<!-- end generated config severity -->
+<!-- end generated config severity -->
0 commit comments