From e2c6444ae30bfba1d652e1a5aa7186aa4f280d16 Mon Sep 17 00:00:00 2001 From: Steven Kirk Date: Mon, 17 Oct 2022 11:49:49 +0200 Subject: [PATCH] Removed unused method. --- src/Avalonia.Base/PropertyStore/ValueStore.cs | 13 ------------- 1 file changed, 13 deletions(-) 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,