Author: igorz
Date: 2007-11-07 04:04:29 -0500 (Wed, 07 Nov 2007)
New Revision: 89073
Modified:
trunk/mcs/class/System.Web/System.Web/BaseParamsCollection.cs
trunk/mcs/class/System.Web/System.Web/ChangeLog
Log:
2007-11-07 Igor Zelmanovich <[EMAIL PROTECTED]>
* BaseParamsCollection.cs:
ensure collection will not be changed during enumeration.
Modified: trunk/mcs/class/System.Web/System.Web/BaseParamsCollection.cs
===================================================================
--- trunk/mcs/class/System.Web/System.Web/BaseParamsCollection.cs
2007-11-07 08:47:53 UTC (rev 89072)
+++ trunk/mcs/class/System.Web/System.Web/BaseParamsCollection.cs
2007-11-07 09:04:29 UTC (rev 89073)
@@ -134,6 +134,18 @@
LoadInfo ();
return base.Count;
}
+ }
+
+ public override NameObjectCollectionBase.KeysCollection Keys {
+ get {
+ LoadInfo ();
+ return base.Keys;
+ }
+ }
+
+ public override System.Collections.IEnumerator GetEnumerator ()
{
+ LoadInfo ();
+ return base.GetEnumerator ();
}
}
}
Modified: trunk/mcs/class/System.Web/System.Web/ChangeLog
===================================================================
--- trunk/mcs/class/System.Web/System.Web/ChangeLog 2007-11-07 08:47:53 UTC
(rev 89072)
+++ trunk/mcs/class/System.Web/System.Web/ChangeLog 2007-11-07 09:04:29 UTC
(rev 89073)
@@ -1,3 +1,8 @@
+2007-11-07 Igor Zelmanovich <[EMAIL PROTECTED]>
+
+ * BaseParamsCollection.cs:
+ ensure collection will not be changed during enumeration.
+
2007-11-06 Marek Habersack <[EMAIL PROTECTED]>
* HttpResponse.cs: trigger the PreSendRequestHeaders event before
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches