diff --git a/src/System.Windows.Forms/System/Windows/Forms/Internal/WinFormsMetadataUpdateHandler.cs b/src/System.Windows.Forms/System/Windows/Forms/Internal/WinFormsMetadataUpdateHandler.cs index 2113554de93..d9d358033af 100644 --- a/src/System.Windows.Forms/System/Windows/Forms/Internal/WinFormsMetadataUpdateHandler.cs +++ b/src/System.Windows.Forms/System/Windows/Forms/Internal/WinFormsMetadataUpdateHandler.cs @@ -4,6 +4,8 @@ using System.Reflection.Metadata; using System.Windows.Forms; +#pragma warning disable IDE0060 // Remove unused parameter + [assembly: MetadataUpdateHandler(typeof(WinFormsMetadataUpdateHandler))] namespace System.Windows.Forms; @@ -12,7 +14,7 @@ namespace System.Windows.Forms; internal static class WinFormsMetadataUpdateHandler { /// Invoked after a metadata update is applied. - internal static void UpdateApplication() + internal static void UpdateApplication(Type[]? updatedTypes) { // Repaint all open forms. foreach (Form openForm in Application.OpenForms)