Browse Source

Removed unused method.

Steven Kirk 6 years ago
parent
commit
a29a2db616
1 changed files with 0 additions and 10 deletions
  1. 0 10
      src/Avalonia.Base/DirectProperty.cs

+ 0 - 10
src/Avalonia.Base/DirectProperty.cs

@@ -201,15 +201,5 @@ namespace Avalonia
 
             Setter((TOwner)instance, (TValue)value);
         }
-
-        internal void WrapSetter(TOwner instance, BindingValue<TValue> value)
-        {
-            if (Setter == null)
-            {
-                throw new ArgumentException($"The property {Name} is readonly.");
-            }
-
-            Setter(instance, value.Value);
-        }
     }
 }