[GUI] Add additional SuppressMessage attributes for async void methods in MediaDumpViewModel

This commit is contained in:
2025-11-20 14:21:19 +00:00
parent 5a9b25986a
commit 7dbe9289dd

View File

@@ -71,9 +71,12 @@ using MediaType = Aaru.CommonTypes.MediaType;
namespace Aaru.Gui.ViewModels.Windows;
[SuppressMessage("ReSharper", "AsyncVoidMethod", Justification = "Event handlers")]
[SuppressMessage("AsyncUsage", "AsyncFixer03:Fire-and-forget async-void methods or delegates", Justification = "Event handlers")]
[SuppressMessage("Philips Maintainability", "PH2096:Avoid async void", Justification = "Event handlers")]
[SuppressMessage("ReSharper", "AsyncVoidMethod", Justification = "Event handlers")]
[SuppressMessage("AsyncUsage",
"AsyncFixer03:Fire-and-forget async-void methods or delegates",
Justification = "Event handlers")]
[SuppressMessage("Philips Maintainability", "PH2096:Avoid async void", Justification = "Event handlers")]
[SuppressMessage("Usage", "VSTHRD100:Avoid async void methods", Justification = "Event handlers")]
public sealed partial class MediaDumpViewModel : ViewModelBase
{
readonly string _devicePath;