2007-07-24 Igor Zelmanovich <igorz@mainsoft.com>
[mono.git] / mcs / class / System.Web / System.Web.UI.WebControls / DataListItemCollection.cs
index 4970f3fb8659179a629379c13cac2948cfa05d6a..a644a0f20160b4e17f18ecaa6a9599248956084e 100644 (file)
 //
 
 using System.Collections;
+using System.Security.Permissions;
 
 namespace System.Web.UI.WebControls {
 
+       // CAS - no InheritanceDemand here as the class is sealed
+       [AspNetHostingPermission (SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
        public sealed class DataListItemCollection : ICollection, IEnumerable {
 
                private ArrayList list;