From a98772cf92eacb4caa5085ef2017dae78e88f618 Mon Sep 17 00:00:00 2001 From: Steven Kirk Date: Wed, 20 Jul 2022 17:34:17 +0200 Subject: [PATCH] Remove assertion. Due to #8549. --- src/Avalonia.Base/PropertyStore/ValueStore.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Avalonia.Base/PropertyStore/ValueStore.cs b/src/Avalonia.Base/PropertyStore/ValueStore.cs index fe47f06d89..701bef2ccc 100644 --- a/src/Avalonia.Base/PropertyStore/ValueStore.cs +++ b/src/Avalonia.Base/PropertyStore/ValueStore.cs @@ -572,7 +572,8 @@ namespace Avalonia.PropertyStore private void InsertFrame(ValueFrame frame) { - Debug.Assert(!_frames.Contains(frame)); + // Uncomment this line when #8549 is fixed. + //Debug.Assert(!_frames.Contains(frame)); var index = BinarySearchFrame(frame.Priority); _frames.Insert(index, frame);