2008-12-06 Ivan N. Zlatev <contact@i-nz.net>
authorIvan Zlatev <ivan@ivanz.com>
Sat, 6 Dec 2008 02:15:44 +0000 (02:15 -0000)
committerIvan Zlatev <ivan@ivanz.com>
Sat, 6 Dec 2008 02:15:44 +0000 (02:15 -0000)
* ListSortDescriptionCollection.cs: Add the items supplied in the
ctor to the internal list.

svn path=/trunk/mcs/; revision=120934

mcs/class/System/System.ComponentModel/ChangeLog
mcs/class/System/System.ComponentModel/ListSortDescriptionCollection.cs

index 5b726a58c2f3693ede382cb687f4c0578e1174ba..b072f7264b0ae201bee85df414aa41a3bc8d55a5 100644 (file)
@@ -1,3 +1,8 @@
+2008-12-06  Ivan N. Zlatev  <contact@i-nz.net>
+
+       * ListSortDescriptionCollection.cs: Add the items supplied in the 
+       ctor to the internal list.
+
 2008-11-21  Rolf Bjarne Kvinge  <rkvinge@novell.com>
 
        * TypeConverter_2_1.cs: fix method signatures to match SL2 api.
index d331d19f6fef919202901de34f06fa50457dd4e6..5eeb77d5fcd705a6e43f6ace23d23e7a595221d6 100644 (file)
 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
-// Copyright (c) 2005 Novell, Inc. (http://www.novell.com)
+// Copyright (c) 2008 Novell, Inc. (http://www.novell.com)
 //
 // Author:
 //     Pedro Martínez Juliá <pedromj@gmail.com>
+//      Ivan N. Zlatev <contact@i-nz.net>
 //
 
 
@@ -40,6 +41,8 @@ namespace System.ComponentModel {
 
                public ListSortDescriptionCollection (ListSortDescription[] sorts) {
                        list = new ArrayList();
+                       foreach (ListSortDescription item in sorts)
+                               list.Add (item);
                }
 
                public int Count {