Don't tag some CAS types as obsolete.
[mono.git] / mcs / class / System.Web / System.Web.UI.WebControls / DataKeyCollection.cs
index f241178bfd7f22b560f6a5e502367130002bddff..befcaa0b0a4faf70149c8da1a123f2856b09fb49 100644 (file)
@@ -33,16 +33,15 @@ namespace System.Web.UI.WebControls {
 
        // CAS - no InheritanceDemand here as the class is sealed
        [AspNetHostingPermission (SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
-       public sealed class DataKeyCollection : ICollection, IEnumerable {
-
-               private ArrayList list;
+       public sealed class DataKeyCollection : ICollection, IEnumerable 
+       {
+               ArrayList list;
 
                public DataKeyCollection (ArrayList keys)
                {
                        list = keys;
                }
 
-
                public int Count {
                        get { return list.Count; }
                }