From 3dc5ca76e0f1e6fe8ad355a9c48f7cecc7264503 Mon Sep 17 00:00:00 2001 From: Dean Ellis Date: Thu, 30 Nov 2023 18:03:15 +0000 Subject: [PATCH] Remove the disabling of CS0618 --- .../Tasks/GenerateLayoutBindings.CSharpBindingGenerator.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Xamarin.Android.Build.Tasks/Tasks/GenerateLayoutBindings.CSharpBindingGenerator.cs b/src/Xamarin.Android.Build.Tasks/Tasks/GenerateLayoutBindings.CSharpBindingGenerator.cs index a8d492852bd..92372d223e7 100644 --- a/src/Xamarin.Android.Build.Tasks/Tasks/GenerateLayoutBindings.CSharpBindingGenerator.cs +++ b/src/Xamarin.Android.Build.Tasks/Tasks/GenerateLayoutBindings.CSharpBindingGenerator.cs @@ -159,7 +159,6 @@ void WriteClassClose (State state) void WriteDisableWarnings (State state) { - state.WriteLine ("#pragma warning disable CS0618"); state.WriteLine ("#pragma warning disable CS8981"); state.WriteLine ("#pragma warning disable CS1591"); } @@ -168,7 +167,6 @@ void WriteEnableWarnings (State state) { state.WriteLine ("#pragma warning restore CS1591"); state.WriteLine ("#pragma warning restore CS8981"); - state.WriteLine ("#pragma warning restore CS0618"); } void WriteAutoGeneratedComment (State state)