New test.
[mono.git] / mcs / class / System.Web / System.Web.Configuration / HttpCapabilitiesBase.cs
index 3ff24e353225ec567c57f76f46488725dcaacdb1..10152dd4085c0e04caa7a6b4537adbefdc7f5bec 100644 (file)
@@ -5,9 +5,7 @@
 //     Gonzalo Paniagua Javier (gonzalo@ximian.com)
 //
 // (C) 2002 Ximian, Inc (http://www.ximian.com)
-// (C) 2003,2004 Novell, Inc (http://www.novell.com)
-//
-
+// Copyright (C) 2003,2004,2005 Novell, Inc (http://www.novell.com)
 //
 // Permission is hereby granted, free of charge, to any person obtaining
 // a copy of this software and associated documentation files (the
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
+using System.Collections;
+using System.Security.Permissions;
+
 namespace System.Web.Configuration
 {
-       using System;
-       using System.Collections;
-       using System.Web;
-       
+       // CAS
+       [AspNetHostingPermission (SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
+       [AspNetHostingPermission (SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
+#if NET_2_0
        public partial class HttpCapabilitiesBase
+#else
+       public class HttpCapabilitiesBase
+#endif
        {
                Hashtable capabilities;