Author: kostat
Date: 2006-07-11 05:37:40 -0400 (Tue, 11 Jul 2006)
New Revision: 62431
Modified:
trunk/mcs/class/System.Web/System.Web.UI.WebControls/DataKeyArray.cs
trunk/mcs/class/System.Web/Test/System.Web.UI.WebControls/DataKeyArrayTest.cs
Log:
fix SyncRoot according to MSDN
Modified: trunk/mcs/class/System.Web/System.Web.UI.WebControls/DataKeyArray.cs
===================================================================
--- trunk/mcs/class/System.Web/System.Web.UI.WebControls/DataKeyArray.cs
2006-07-11 09:30:52 UTC (rev 62430)
+++ trunk/mcs/class/System.Web/System.Web.UI.WebControls/DataKeyArray.cs
2006-07-11 09:37:40 UTC (rev 62431)
@@ -64,7 +64,7 @@
}
public object SyncRoot {
- get { return keys.SyncRoot; }
+ get { return this; }
}
public void CopyTo (DataKey[] array, int index)
Modified:
trunk/mcs/class/System.Web/Test/System.Web.UI.WebControls/DataKeyArrayTest.cs
===================================================================
---
trunk/mcs/class/System.Web/Test/System.Web.UI.WebControls/DataKeyArrayTest.cs
2006-07-11 09:30:52 UTC (rev 62430)
+++
trunk/mcs/class/System.Web/Test/System.Web.UI.WebControls/DataKeyArrayTest.cs
2006-07-11 09:37:40 UTC (rev 62431)
@@ -59,7 +59,6 @@
}
[Test]
- [Category ("NotWorking")]
public void DataKeyArray_DefaultPropertyNotWorking()
{
DataKeyArray keyarray = new DataKeyArray (new ArrayList
());
@@ -113,4 +112,4 @@
}
}
}
-#endif
\ No newline at end of file
+#endif
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches