namespace System.Collections {
-#if NET_2_0
[ComVisible(true)]
-#endif
+ [System.Diagnostics.DebuggerDisplay ("Count={Count}")]
+ [System.Diagnostics.DebuggerTypeProxy (typeof (CollectionDebuggerView))]
[Serializable]
- public class Stack : ICollection, IEnumerable, ICloneable {
+#if INSIDE_CORLIB
+ public
+#else
+ internal
+#endif
+ class Stack : ICollection, IEnumerable, ICloneable {
// properties
private object[] contents;