diff options
Diffstat (limited to 'Xamarin.Forms.Core/BindableObject.cs')
-rw-r--r-- | Xamarin.Forms.Core/BindableObject.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Xamarin.Forms.Core/BindableObject.cs b/Xamarin.Forms.Core/BindableObject.cs index 1df88b7d..755ad8f0 100644 --- a/Xamarin.Forms.Core/BindableObject.cs +++ b/Xamarin.Forms.Core/BindableObject.cs @@ -2,7 +2,6 @@ using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; -using System.Reflection; using System.Runtime.CompilerServices; using Xamarin.Forms.Internals; @@ -553,7 +552,7 @@ namespace Xamarin.Forms bool clearOneWayBindings = (attributes & SetValueFlags.ClearOneWayBindings) != 0; bool clearTwoWayBindings = (attributes & SetValueFlags.ClearTwoWayBindings) != 0; - bool same = ReferenceEquals(context.Property, BindingContextProperty) ? ReferenceEquals(value, original) : Equals(value, original); + bool same = Equals(value, original); if (!silent && (!same || raiseOnEqual)) { if (property.PropertyChanging != null) |