2005-11-08 Sebastien Pouliot <sebastien@ximian.com>
authorSebastien Pouliot <sebastien@ximian.com>
Tue, 8 Nov 2005 21:48:37 +0000 (21:48 -0000)
committerSebastien Pouliot <sebastien@ximian.com>
Tue, 8 Nov 2005 21:48:37 +0000 (21:48 -0000)
* AspNetHostingPermissionLevel.cs: The enum is [Serializable] in 2.0.

svn path=/trunk/mcs/; revision=52738

mcs/class/System/System.Web/AspNetHostingPermissionLevel.cs
mcs/class/System/System.Web/ChangeLog

index 60a2050cd4d32cc4cfce61e73ee3811107f19202..beeb1959f5740bd42f705507298609573b9c4e36 100644 (file)
@@ -4,7 +4,7 @@
 // Author:
 //   Andreas Nahr (ClassDevelopment@A-SoftTech.com)
 //
-
+// Copyright (C) 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
 
 #if NET_1_1
 
-namespace System.Web
-{
-       public enum AspNetHostingPermissionLevel
-       {
+namespace System.Web {
+
+#if NET_2_0
+       [Serializable]
+#endif
+       public enum AspNetHostingPermissionLevel {
                None = 100,
                Minimal = 200,
                Low = 300,
@@ -41,4 +43,4 @@ namespace System.Web
        }
 }
 
-#endif
\ No newline at end of file
+#endif
index 6113cc7f6439c74eb9fa12ee77831c1896a7bb75..15a5bb278de3481d10329755c4edf84b45e09006 100644 (file)
@@ -1,3 +1,7 @@
+2005-11-08  Sebastien Pouliot  <sebastien@ximian.com> 
+
+       * AspNetHostingPermissionLevel.cs: The enum is [Serializable] in 2.0.
+
 2005-09-22  Sebastien Pouliot  <sebastien@ximian.com> 
 
        * AspNetHostingPermission.cs: Add "Unrestricted=true" in 2.0 (it was