Просмотр исходного кода

2009-01-12 Marek Habersack <[email protected]>

	* MembershipUserCollection.cs: CopyTo overloads use store.Values
	as the copy source. Fixes bug #464783. Patch from Christian
	Prochnow <[email protected]>

svn path=/trunk/mcs/; revision=123084
Marek Habersack 17 лет назад
Родитель
Сommit
d77458d1fa

+ 5 - 0
mcs/class/System.Web/System.Web.Security/ChangeLog

@@ -1,3 +1,8 @@
+2009-01-12  Marek Habersack  <[email protected]>
+
+	* MembershipUserCollection.cs: CopyTo overloads use store.Values
+	as the copy source. Fixes bug #464783. Patch from Christian
+	Prochnow <[email protected]>
 
 
 2008-12-25 Gonzalo Paniagua Javier <[email protected]>
 2008-12-25 Gonzalo Paniagua Javier <[email protected]>
 
 

+ 2 - 2
mcs/class/System.Web/System.Web.Security/MembershipUserCollection.cs

@@ -57,12 +57,12 @@ namespace System.Web.Security {
 		
 		
 		void ICollection.CopyTo (Array array, int index)
 		void ICollection.CopyTo (Array array, int index)
 		{
 		{
-			store.CopyTo (array, index);
+			store.Values.CopyTo (array, index);
 		}
 		}
 		
 		
 		public void CopyTo (MembershipUser[] array, int index)
 		public void CopyTo (MembershipUser[] array, int index)
 		{
 		{
-			store.CopyTo (array, index);
+			store.Values.CopyTo (array, index);
 		}
 		}
 		
 		
 		public IEnumerator GetEnumerator ()
 		public IEnumerator GetEnumerator ()