X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2FSystem.Web%2FSystem.Web.UI.WebControls%2FDataListItemCollection.cs;h=a644a0f20160b4e17f18ecaa6a9599248956084e;hb=7bba17dd3ccf8fd6a9c42d92c04d5e90bb200cbf;hp=4970f3fb8659179a629379c13cac2948cfa05d6a;hpb=5e6643734df34c002b914b3d44c91ed897a8a6d6;p=mono.git diff --git a/mcs/class/System.Web/System.Web.UI.WebControls/DataListItemCollection.cs b/mcs/class/System.Web/System.Web.UI.WebControls/DataListItemCollection.cs index 4970f3fb865..a644a0f2016 100644 --- a/mcs/class/System.Web/System.Web.UI.WebControls/DataListItemCollection.cs +++ b/mcs/class/System.Web/System.Web.UI.WebControls/DataListItemCollection.cs @@ -27,9 +27,12 @@ // 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;