From 7006bb4884df1d762ba2feb0da14a7824611c1ca Mon Sep 17 00:00:00 2001 From: Tanya Solyanik Date: Tue, 12 Jul 2022 13:10:45 -0700 Subject: [PATCH] Suppress IL2057, IL2062, ILL2096 messages about API that need trimmable annotations --- .../src/System.Windows.Forms.Design.csproj | 2 +- src/System.Windows.Forms/src/System.Windows.Forms.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/System.Windows.Forms.Design/src/System.Windows.Forms.Design.csproj b/src/System.Windows.Forms.Design/src/System.Windows.Forms.Design.csproj index 15849e17b6c..10df863d5fc 100644 --- a/src/System.Windows.Forms.Design/src/System.Windows.Forms.Design.csproj +++ b/src/System.Windows.Forms.Design/src/System.Windows.Forms.Design.csproj @@ -11,7 +11,7 @@ IL Trim warnings which should be removed in order to make WinForms trimmable See https://github.com/dotnet/winforms/issues/4649 --> - $(NoWarn);IL2026;IL2046;IL2067;IL2070;IL2072;IL2075;IL2094;IL2111 + $(NoWarn);IL2026;IL2046;IL2057;IL2067;IL2070;IL2072;IL2075;IL2094;IL2111 true true diff --git a/src/System.Windows.Forms/src/System.Windows.Forms.csproj b/src/System.Windows.Forms/src/System.Windows.Forms.csproj index 0fe3b226f67..936874a7855 100644 --- a/src/System.Windows.Forms/src/System.Windows.Forms.csproj +++ b/src/System.Windows.Forms/src/System.Windows.Forms.csproj @@ -11,7 +11,7 @@ IL Trim warnings which should be removed in order to make WinForms trimmable See https://github.com/dotnet/winforms/issues/4649 --> - $(NoWarn);IL2026;IL2050;IL2067;IL2070;IL2072;IL2075;IL2077;IL2080;IL2092;IL2093;IL2094;IL2111 + $(NoWarn);IL2026;IL2050;IL2057;IL2062;IL2067;IL2070;IL2072;IL2075;IL2077;IL2080;IL2092;IL2093;IL2094;IL2096;IL2111 Resources\System\Windows\Forms\XPThemes.manifest true true