Skip to content

Commit

Permalink
Update DisposeFieldsAndPropertiesInTearDownAnalyzer.cs to support Quit()
Browse files Browse the repository at this point in the history
Update DisposeFieldsAndPropertiesInTearDownAnalyzer.cs to support Quit() as that calls Dispose().
  • Loading branch information
rhyous authored Dec 5, 2024
1 parent 260d60d commit d21e5ab
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ public sealed class DisposeFieldsAndPropertiesInTearDownAnalyzer : DiagnosticAna
"Dispose",
"DisposeAsync",
"Close",
"CloseAsync");
"CloseAsync",
"Quit");

// Types that even though they are IDisposable, don't need to be Disposed.
private static readonly ImmutableHashSet<string> DisposableTypeNotRequiringToBeDisposed = ImmutableHashSet.Create(
Expand Down

0 comments on commit d21e5ab

Please sign in to comment.