Browse Source

2005-11-08 Sebastien Pouliot <[email protected]>

	* AspNetHostingPermissionLevel.cs: The enum is [Serializable] in 2.0.


svn path=/trunk/mcs/; revision=52738
Sebastien Pouliot 20 years ago
parent
commit
18e9bf6105

+ 8 - 6
mcs/class/System/System.Web/AspNetHostingPermissionLevel.cs

@@ -4,7 +4,7 @@
 // Author:
 //   Andreas Nahr ([email protected])
 //
-
+// 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
@@ -28,10 +28,12 @@
 
 #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
+#endif

+ 4 - 0
mcs/class/System/System.Web/ChangeLog

@@ -1,3 +1,7 @@
+2005-11-08  Sebastien Pouliot  <[email protected]> 
+
+	* AspNetHostingPermissionLevel.cs: The enum is [Serializable] in 2.0.
+
 2005-09-22  Sebastien Pouliot  <[email protected]> 
 
 	* AspNetHostingPermission.cs: Add "Unrestricted=true" in 2.0 (it was