Add locking to EventWaitHandle.Set/Reset to avoid crashes when another thread dispose...
[mono.git] / mcs / class / corlib / System.Collections / CollectionBase.cs
index 67bb29a1951d741e25f6a1c7ede18ccd60b8bec6..75817380b13eb5d35b01001ee99ef8ef4382e114 100644 (file)
@@ -35,9 +35,7 @@ using System.Runtime.InteropServices;
 
 namespace System.Collections {
 
-#if NET_2_0
        [ComVisible(true)]
-#endif
        [Serializable]
 #if INSIDE_CORLIB
        public
@@ -73,7 +71,6 @@ namespace System.Collections {
                { 
                }
 
-#if NET_2_0
                protected CollectionBase (int capacity)
                {
                        list = new ArrayList (capacity);
@@ -95,8 +92,6 @@ namespace System.Collections {
                                list.Capacity = value;
                        }
                }
-                       
-#endif
                
                // Protected Instance Properties
                protected ArrayList InnerList {