namespace System.Collections {
-#if NET_2_0
[ComVisible(true)]
-#endif
[Serializable]
- public abstract class CollectionBase : IList, ICollection, IEnumerable {
+#if INSIDE_CORLIB
+ public
+#else
+ internal
+#endif
+ abstract class CollectionBase : IList, ICollection, IEnumerable {
// private instance properties
private ArrayList list;
{
}
-#if NET_2_0
protected CollectionBase (int capacity)
{
list = new ArrayList (capacity);
}
+ [ComVisible (false)]
public int Capacity {
get {
if (list == null)
list.Capacity = value;
}
}
-
-#endif
// Protected Instance Properties
protected ArrayList InnerList {