Skip to content

Commit

Permalink
Suppress warning about disposable fields that follow Form events life…
Browse files Browse the repository at this point in the history
…cycle
  • Loading branch information
yaakov-h committed Oct 20, 2019
1 parent 852db30 commit 7b71ac1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Resources/NetHookAnalyzer2/NetHookAnalyzer2/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,13 @@ public MainForm()
specializations = LoadMessageObjectSpecializations();
}

#pragma warning disable IDE0069 // Disposable fields should be disposed

IDisposable itemsListViewFirstColumnHiderDisposable;
FileSystemWatcher folderWatcher;

#pragma warning restore IDE0069 // Disposable fields should be disposed

readonly ISpecialization[] specializations;

static ISpecialization[] LoadMessageObjectSpecializations()
Expand Down

0 comments on commit 7b71ac1

Please sign in to comment.