Skip to content

Commit

Permalink
Downgrade Fody to 4.2.1 and Costure to 3.3.3 for 2017
Browse files Browse the repository at this point in the history
  • Loading branch information
zspitz committed Nov 7, 2019
1 parent b2e5f4f commit 63ee967
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions 2017.Standard/2017.Standard.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
<PackageReference Include="Antlr4.Runtime.Standard" Version="4.7.2">
<ExcludeAssets>runtime</ExcludeAssets>
</PackageReference>
<PackageReference Include="Costura.Fody" Version="4.1.0" />
<PackageReference Include="Fody" Version="6.0.4">
<PackageReference Include="Costura.Fody" Version="3.3.3" />
<PackageReference Include="Fody" Version="4.2.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
4 changes: 2 additions & 2 deletions 2017/2017.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
</PropertyGroup>
<Import Project="..\Shared\Shared.projitems" Label="Shared" />
<ItemGroup>
<PackageReference Include="Costura.Fody" Version="4.1.0" />
<PackageReference Include="Fody" Version="6.0.4">
<PackageReference Include="Costura.Fody" Version="3.3.3" />
<PackageReference Include="Fody" Version="4.2.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
4 changes: 2 additions & 2 deletions Shared/Util/ExposeControl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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; }
Expand Down

0 comments on commit 63ee967

Please sign in to comment.