Skip to content

Commit

Permalink
Remove unused method.
Browse files Browse the repository at this point in the history
  • Loading branch information
grokys committed Jan 20, 2020
1 parent 6f92e37 commit a1353c7
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/Avalonia.Base/StyledPropertyMetadata`1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,18 +45,5 @@ public override void Merge(PropertyMetadata baseMetadata, AvaloniaProperty prope
}
}
}

[DebuggerHidden]
private static Func<IAvaloniaObject, object, object> Cast(Func<IAvaloniaObject, TValue, TValue> f)
{
if (f == null)
{
return null;
}
else
{
return (o, v) => f(o, (TValue)v);
}
}
}
}

0 comments on commit a1353c7

Please sign in to comment.