make FindAll(Type) consistent with Find(Type)
authorKonstantin Triger <kostat@mono-cvs.ximian.com>
Sun, 11 Mar 2007 13:29:42 +0000 (13:29 -0000)
committerKonstantin Triger <kostat@mono-cvs.ximian.com>
Sun, 11 Mar 2007 13:29:42 +0000 (13:29 -0000)
svn path=/trunk/mcs/; revision=74063

mcs/class/System.Web.Services/System.Web.Services.Description/ChangeLog
mcs/class/System.Web.Services/System.Web.Services.Description/ServiceDescriptionFormatExtensionCollection.cs

index 5c1dd8172693f9b67270e403b94d4f786b4ca2f8..27e8308eb555a2fa07fc0a49092e4e57e13aead7 100644 (file)
@@ -1,3 +1,8 @@
+2007-03-11  Konstantin Triger <kostat@mainsoft.com>
+
+       * ServiceDescriptionFormatExtensionCollection.cs: make FindAll(Type)
+               consistent with Find(Type).
+
 2007-02-28  Atsushi Enomoto  <atsushi@ximian.com>
 
        * ServiceDescriptionSerializeBase2.cs : regenerated with the latest
index d162d0bbb0712a36f37209a0ec674eecf15272d5..90926e7d2c81d21a86078530080d072dbe55c0f1 100644 (file)
@@ -100,7 +100,7 @@ namespace System.Web.Services.Description {
                {
                        ArrayList searchResults = new ArrayList ();
                        foreach (object value in List)
-                               if (value.GetType () == type)
+                               if (type.IsInstanceOfType(value))
                                        searchResults.Add (value);
                        object[] returnValue = new object [searchResults.Count];