diff --git a/src/Avalonia.Base/PropertyStore/ValueStore.cs b/src/Avalonia.Base/PropertyStore/ValueStore.cs index a99955eb07..442dc7a72f 100644 --- a/src/Avalonia.Base/PropertyStore/ValueStore.cs +++ b/src/Avalonia.Base/PropertyStore/ValueStore.cs @@ -707,19 +707,6 @@ namespace Avalonia.PropertyStore 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( AvaloniaProperty property, EffectiveValue? oldValue,