From aff3d48d9f19b9f49691b0001b9436998c96ac47 Mon Sep 17 00:00:00 2001 From: Sebastien Pouliot Date: Fri, 2 Apr 2021 00:00:13 -0400 Subject: [PATCH] Revert "[dotnet-linker] Make PreserveSmartEnumConversionsStep active for type as well to work around a linker bug." (#11064) This reverts commit 482151eea71da3c06749d34c129548ec6c822894. This issue https://github.com/mono/linker/issues/1458 has been fixed a while ago. Co-authored-by: Sebastien Pouliot --- .../MonoTouch.Tuner/PreserveSmartEnumConversionsSubStep.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tools/linker/MonoTouch.Tuner/PreserveSmartEnumConversionsSubStep.cs b/tools/linker/MonoTouch.Tuner/PreserveSmartEnumConversionsSubStep.cs index 2e6d92ca740b..248ed45418c9 100644 --- a/tools/linker/MonoTouch.Tuner/PreserveSmartEnumConversionsSubStep.cs +++ b/tools/linker/MonoTouch.Tuner/PreserveSmartEnumConversionsSubStep.cs @@ -25,10 +25,7 @@ public class PreserveSmartEnumConversionsSubStep : ExceptionalSubStep public override SubStepTargets Targets { get { - return - SubStepTargets.Method - | SubStepTargets.Type // SubStepTargets.Type is only needed to work around a linker bug: https://github.com/mono/linker/issues/1458 - | SubStepTargets.Property; + return SubStepTargets.Method | SubStepTargets.Property; } }