Bladeren bron

* ApplicationShutdownReason.cs: Fixed typos.

* HttpCookieMode.cs:
* HttpDataTransferMode.cs:
* HttpRequestPriority.cs: Added [Serializable] attribute.

svn path=/trunk/mcs/; revision=31768
Duncan Mak 21 jaren geleden
bovenliggende
commit
8bd2a78db0

+ 3 - 2
mcs/class/System.Web/System.Web/ApplicationShutdownReason.cs

@@ -29,13 +29,14 @@
 #if NET_2_0
 namespace System.Web
 {
+        [Serializable]
         public enum ApplicationShutdownReason
         {
                 None = 0,
                 HostingEnvironment = 1,
                 ChangeInGlobalAsax = 2,
                 ConfigurationChange = 3,
-                UnloadAppdomainCalled = 4,
+                UnloadAppDomainCalled = 4,
                 ChangeInSecurityPolicyFile = 5,
                 BinDirChangeOrDirectoryRename = 6,
                 BrowsersDirChangeOrDirectoryRename = 7,
@@ -45,7 +46,7 @@ namespace System.Web
                 PhysicalApplicationPathChanged = 11,
                 HttpRuntimeClose = 12,
                 InitializationError = 13,
-                MaxRecompilationReached = 14
+                MaxRecompilationsReached = 14
         }
 }
 #endif

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

@@ -1,3 +1,11 @@
+2004-08-02  Duncan Mak  <[email protected]>
+
+	* ApplicationShutdownReason.cs: Fixed typos.
+
+	* HttpCookieMode.cs:
+	* HttpDataTransferMode.cs:
+	* HttpRequestPriority.cs: Added [Serializable] attribute.
+	
 2004-08-02  Duncan Mak  <[email protected]>
 
 	* ApplicationShutdownReason.cs:

+ 1 - 0
mcs/class/System.Web/System.Web/HttpCookieMode.cs

@@ -29,6 +29,7 @@
 #if NET_2_0
 namespace System.Web
 {
+        [Serializable]
         public enum HttpCookieMode
         {
                 UseUri = 0,

+ 1 - 0
mcs/class/System.Web/System.Web/HttpDataTransferMode.cs

@@ -29,6 +29,7 @@
 #if NET_2_0
 namespace System.Web
 {
+        [Serializable]
         public enum HttpDataTransferMode
         {
                 HttpDataStore = 0,

+ 1 - 0
mcs/class/System.Web/System.Web/HttpRequestPriority.cs

@@ -29,6 +29,7 @@
 #if NET_2_0
 namespace System.Web
 {
+        [Serializable]
         public enum HttpRequestPriority
         {
                 Normal = 10,