Browse Source

Removed unused method.

pull/8600/head
Steven Kirk 4 years ago
parent
commit
e2c6444ae3
  1. 13
      src/Avalonia.Base/PropertyStore/ValueStore.cs

13
src/Avalonia.Base/PropertyStore/ValueStore.cs

@ -707,19 +707,6 @@ namespace Avalonia.PropertyStore
return false; return false;
} }
private bool RemoveEffectiveValue(AvaloniaProperty property, [NotNullWhen(true)] out EffectiveValue? result)
{
if (_effectiveValues.Remove(property, out result))
{
if (property.Inherits && --_inheritedValueCount == 0)
OnInheritanceAncestorChanged(InheritanceAncestor);
return true;
}
result = null;
return false;
}
private void InheritedValueChanged( private void InheritedValueChanged(
AvaloniaProperty property, AvaloniaProperty property,
EffectiveValue? oldValue, EffectiveValue? oldValue,

Loading…
Cancel
Save