Skip to content

Commit 061cda7

Browse files
sungam3rJohanLarsson
authored andcommitted
Update IDISP008.md
1 parent 19c05af commit 061cda7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

documentation/IDISP008.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Change to
6262
public readonly IDisposable Disposable; // We can now check all places it is assigned and hopefully figure out if we should dispose
6363
```
6464

65-
#### Example public field
65+
#### Example public property
6666
```cs
6767
public IDisposable Disposable { get; set; } // could be assigned from the outside so we don't know if disposing it is safe.
6868
```
@@ -99,4 +99,4 @@ Or put this at the top of the file to disable all instances.
9999
"IDISP008:Don't assign member with injected and created disposables",
100100
Justification = "Reason...")]
101101
```
102-
<!-- end generated config severity -->
102+
<!-- end generated config severity -->

0 commit comments

Comments
 (0)