Merge pull request #2087 from joelmartinez/mdoc-membername-fixup
[mono.git] / mcs / class / System.Web / System.Web / HttpUnhandledException.cs
index f58799ead36caad3bb9cd6263fdef5f69d9da8a6..e45aa4678a8993db847cdf6bc665032cc95c25de 100644 (file)
@@ -6,7 +6,7 @@
 //     Sebastien Pouliot  <sebastien@ximian.com>
 //
 // Copyright (C) Tim Coleman, 2002
-// Copyright (C) 2005 Novell, Inc (http://www.novell.com)
+// Copyright (C) 2005-2009 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 {
-
+namespace System.Web
+{
        // CAS - no InheritanceDemand here as the class is sealed
        [AspNetHostingPermission (SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
-#if NET_2_0
        [Serializable]
-#endif
-       public sealed class HttpUnhandledException : HttpException {
-
-#if NET_2_0
+       public sealed class HttpUnhandledException : HttpException
+       {
                public HttpUnhandledException ()
                {
                }
@@ -53,11 +50,5 @@ namespace System.Web {
                        : base (message, innerException)
                {
                }
-#else
-               internal HttpUnhandledException (string message, Exception innerException)
-                       : base (message, innerException)
-               {
-               }
-#endif
        }
 }