diff --git a/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla58645.cs b/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla58645.cs index 87f7d1ba304..9c9eee30992 100644 --- a/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla58645.cs +++ b/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla58645.cs @@ -53,6 +53,7 @@ protected override void Init() }; } + [Preserve(AllMembers = true)] public class LayoutA : ViewCell { public LayoutA() @@ -81,6 +82,7 @@ public LayoutA() } } + [Preserve(AllMembers = true)] public class LayoutB : ViewCell { public LayoutB() @@ -113,6 +115,7 @@ public LayoutB() } } + [Preserve(AllMembers = true)] public class LayoutTemplateSelector : DataTemplateSelector { public DataTemplate LayoutA { get; set; }