[frontend] Restore warnings where appropriate

This commit is contained in:
Laura Hausmann 2024-07-11 03:07:28 +02:00
parent e64e81baf2
commit f58d8da8ae
No known key found for this signature in database
GPG key ID: D044E84C5BE01605
3 changed files with 3 additions and 0 deletions

View file

@ -107,6 +107,7 @@
Icon = DropdownIcon(vis), Icon = DropdownIcon(vis),
Content = DropdownContent(vis), Content = DropdownContent(vis),
Selection = vis Selection = vis
#pragma warning restore BL0005
}) })
.ToList(); .ToList();
} }

View file

@ -31,6 +31,7 @@
CurrentIcon = CurrentSelection.Icon; CurrentIcon = CurrentSelection.Icon;
} }
} }
#pragma warning restore BL0007
[Parameter] public EventCallback<TBind> ValueChanged { get; set; } [Parameter] public EventCallback<TBind> ValueChanged { get; set; }
private DropdownElement<TBind>? CurrentSelection { get; set; } private DropdownElement<TBind>? CurrentSelection { get; set; }

View file

@ -26,6 +26,7 @@ internal class MessageService
{ {
#pragma warning disable CS8601 #pragma warning disable CS8601
NoteChangedHandlers[id] -= func; NoteChangedHandlers[id] -= func;
#pragma warning restore CS8601
} }
else else
{ {