Author: toshok
Date: 2007-12-09 14:21:49 -0500 (Sun, 09 Dec 2007)
New Revision: 91010
Modified:
trunk/olive/class/WindowsBase/Test/System.Windows/PropertyMetadataTest.cs
Log:
fix type of coerce callback
Modified:
trunk/olive/class/WindowsBase/Test/System.Windows/PropertyMetadataTest.cs
===================================================================
--- trunk/olive/class/WindowsBase/Test/System.Windows/PropertyMetadataTest.cs
2007-12-09 19:21:23 UTC (rev 91009)
+++ trunk/olive/class/WindowsBase/Test/System.Windows/PropertyMetadataTest.cs
2007-12-09 19:21:49 UTC (rev 91010)
@@ -38,7 +38,7 @@
public static readonly DependencyProperty TestProp4 =
DependencyProperty.Register ("property4", typeof (string), typeof (TestDepObj),
new PropertyMetadata ("default", changed, coerce));
static void changed (DependencyObject d,
DependencyPropertyChangedEventArgs e) { }
- static void coerce (DependencyObject d, object baseValue) { }
+ static object coerce (DependencyObject d, object baseValue) {
return baseValue; }
}
class TestSubclass : TestDepObj {
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches