2010-05-04 Miguel de Icaza <miguel@novell.com>
[mono.git] / mcs / class / corlib / System.Collections / Stack.cs
index be9504bffbc46e0c441ce74a12fe8952e6e60ac7..9ae8c5b27a359b8a39cf7d76a699d37f25d43250 100644 (file)
@@ -34,11 +34,16 @@ using System.Runtime.InteropServices;
 
 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;