X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2FSystem.Web%2FSystem.Web.UI%2FTriplet.cs;h=7175b6cda730fb214d0cb5ee8aab4982ce89ec48;hb=f212360d708424829d3e65fb1b0ae33849931e0a;hp=c3d3046adb5b98ca5cbb3744a8723a3be9ba513c;hpb=bd9f9ee7cb81823608edc76ef9d0b6416783fe71;p=mono.git diff --git a/mcs/class/System.Web/System.Web.UI/Triplet.cs b/mcs/class/System.Web/System.Web.UI/Triplet.cs index c3d3046adb5..7175b6cda73 100644 --- a/mcs/class/System.Web/System.Web.UI/Triplet.cs +++ b/mcs/class/System.Web/System.Web.UI/Triplet.cs @@ -4,8 +4,7 @@ // Duncan Mak (duncan@ximian.com) // // (C) Ximian, Inc. -// - +// Copyright (C) 2005-2010 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 @@ -27,15 +26,14 @@ // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // -using System; +using System.Security.Permissions; namespace System.Web.UI { -#if NET_2_0 + // CAS + [AspNetHostingPermission (SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)] [Serializable] - sealed -#endif - public class Triplet + public sealed class Triplet { public object First; public object Second;