[bcl] Remove NET_4_0 defines from class libs.
[mono.git] / mcs / class / System.Web.Routing / System.Web.Routing / IRouteConstraint.cs
index b98548c1c33af0c96a84a2b8d11710d903e8f73a..00118433b47dd8b7642c74269af733f0eed91789 100644 (file)
@@ -34,12 +34,7 @@ using System.Web;
 
 namespace System.Web.Routing
 {
-#if NET_4_0
        [TypeForwardedFrom ("System.Web.Routing, Version=3.5.0.0, Culture=Neutral, PublicKeyToken=31bf3856ad364e35")]
-#else
-       [AspNetHostingPermission (SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
-       [AspNetHostingPermission (SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
-#endif
        public interface IRouteConstraint
        {
                bool Match (HttpContextBase httpContext, Route route, string parameterName, RouteValueDictionary values, RouteDirection routeDirection);