dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] CVS: pnetlib/System/Collections/Specialized NameOb


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/System/Collections/Specialized NameObjectCollectionBase.cs, 1.5, 1.6 StringCollection.cs, 1.2, 1.3 StringDictionary.cs, 1.2, 1.3
Date: Thu, 04 Sep 2003 19:44:55 -0400

Update of /cvsroot/dotgnu-pnet/pnetlib/System/Collections/Specialized
In directory subversions:/tmp/cvs-serv1793/System/Collections/Specialized

Modified Files:
        NameObjectCollectionBase.cs StringCollection.cs 
        StringDictionary.cs 
Log Message:


Signature-compatibility fixes in "System.Collections.Specialized".


Index: NameObjectCollectionBase.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/System/Collections/Specialized/NameObjectCollectionBase.cs,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** NameObjectCollectionBase.cs 27 Aug 2003 10:38:46 -0000      1.5
--- NameObjectCollectionBase.cs 4 Sep 2003 23:44:53 -0000       1.6
***************
*** 103,107 ****
                                }
                        }
!       protected virtual bool IsReadOnly
                        {
                                get
--- 103,107 ----
                                }
                        }
!       protected bool IsReadOnly
                        {
                                get

Index: StringCollection.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/System/Collections/Specialized/StringCollection.cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** StringCollection.cs 15 Apr 2003 04:37:44 -0000      1.2
--- StringCollection.cs 4 Sep 2003 23:44:53 -0000       1.3
***************
*** 3,7 ****
   *            "System.Collections.Specialized.StringCollection".
   *
!  * Copyright (C) 2002  Southern Storm Software, Pty Ltd.
   *
   * This program is free software; you can redistribute it and/or modify
--- 3,7 ----
   *            "System.Collections.Specialized.StringCollection".
   *
!  * Copyright (C) 2002, 2003  Southern Storm Software, Pty Ltd.
   *
   * This program is free software; you can redistribute it and/or modify
***************
*** 92,96 ****
                                }
                        }
!       public bool IsReadOnly
                        {
                                get
--- 92,96 ----
                                }
                        }
!       bool IList.IsReadOnly
                        {
                                get
***************
*** 135,138 ****
--- 135,147 ----
                                {
                                        return list;
+                               }
+                       }
+ 
+       // Determine if this collection is read-only.
+       public bool IsReadOnly
+                       {
+                               get
+                               {
+                                       return false;
                                }
                        }

Index: StringDictionary.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/System/Collections/Specialized/StringDictionary.cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** StringDictionary.cs 15 Apr 2003 04:37:44 -0000      1.2
--- StringDictionary.cs 4 Sep 2003 23:44:53 -0000       1.3
***************
*** 3,7 ****
   *            "System.Collections.Specialized.StringDictionary".
   *
!  * Copyright (C) 2002  Southern Storm Software, Pty Ltd.
   *
   * This program is free software; you can redistribute it and/or modify
--- 3,7 ----
   *            "System.Collections.Specialized.StringDictionary".
   *
!  * Copyright (C) 2002, 2003  Southern Storm Software, Pty Ltd.
   *
   * This program is free software; you can redistribute it and/or modify
***************
*** 27,31 ****
--- 27,35 ----
  using System;
  using System.Collections;
+ using System.ComponentModel.Design.Serialization;
  
+ #if CONFIG_COMPONENT_MODEL_DESIGN
+ 
[DesignerSerializer("System.Diagnostics.Design.StringDictionaryCodeDomSerializer,
 System.Design", "System.ComponentModel.Design.Serialization.CodeDomSerializer, 
System.Design")]
+ #endif
  public class StringDictionary : IEnumerable
  {
***************
*** 80,84 ****
  
        // Get the synchronization root for this string dictionary.
!       public Object SyncRoot
                        {
                                get
--- 84,88 ----
  
        // Get the synchronization root for this string dictionary.
!       public virtual Object SyncRoot
                        {
                                get
***************
*** 134,138 ****
  
        // Remove a member with a specific key from this string dictionary.
!       public void Remove(String key)
                        {
                                hash.Remove(key);
--- 138,142 ----
  
        // Remove a member with a specific key from this string dictionary.
!       public virtual void Remove(String key)
                        {
                                hash.Remove(key);





reply via email to

[Prev in Thread] Current Thread [Next in Thread]