[System.Web] Public event handlers from reference source
[mono.git] / mcs / class / System.Web / System.Web.UI / Pair.cs
index b164a7f56b5b7922bc8e8a047108c15f94541877..f8601e17c13e14185582d8ac093d07cd721d8790 100644 (file)
@@ -4,7 +4,7 @@
 // Author:
 //        Ben Maurer <bmaurer@novell.com>
 //
-// Copyright (C) 2005 Novell, Inc (http://www.novell.com)
+// 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
 
 using System.Security.Permissions;
 
-namespace System.Web.UI {
-
+namespace System.Web.UI 
+{
        // CAS
        [AspNetHostingPermission (SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
-#if NET_2_0
        [Serializable]
-       public sealed class Pair {
-#else
-       [AspNetHostingPermission (SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
-       public class Pair {
-#endif
+       public sealed class Pair 
+       {
                public Pair (object first, object second)
                {
                        First = first;