From 63ee96710e3ee1434243e275d85cf807561cfdba Mon Sep 17 00:00:00 2001 From: Zev Spitz Date: Thu, 7 Nov 2019 23:19:38 +0200 Subject: [PATCH] Downgrade Fody to 4.2.1 and Costure to 3.3.3 for 2017 --- 2017.Standard/2017.Standard.csproj | 4 ++-- 2017/2017.csproj | 4 ++-- Shared/Util/ExposeControl.cs | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/2017.Standard/2017.Standard.csproj b/2017.Standard/2017.Standard.csproj index 0995e89..0072912 100644 --- a/2017.Standard/2017.Standard.csproj +++ b/2017.Standard/2017.Standard.csproj @@ -26,8 +26,8 @@ runtime - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/2017/2017.csproj b/2017/2017.csproj index 96ae220..7677181 100644 --- a/2017/2017.csproj +++ b/2017/2017.csproj @@ -23,8 +23,8 @@ - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/Shared/Util/ExposeControl.cs b/Shared/Util/ExposeControl.cs index 548c770..8314ef3 100644 --- a/Shared/Util/ExposeControl.cs +++ b/Shared/Util/ExposeControl.cs @@ -13,9 +13,9 @@ public static class ExposeControl { public static readonly DependencyProperty AsProperty = DPRegisterAttached(typeof(ExposeControl), NoObject, BindsTwoWayByDefault, AsChanged); - public static object GetAs(DependencyObject obj) => obj.GetValue(AsProperty); + public static object GetAs(DependencyObject o) => o.GetValue(AsProperty); - public static void SetAs(DependencyObject obj, object value) => obj.SetValue(AsProperty, value); + public static void SetAs(DependencyObject o, object value) => o.SetValue(AsProperty, value); private static void AsChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { if (e.NewValue == d) { return; }