[Pkg-mono-svn-commits] [SCM] mono branch, master, updated. debian/2.4.4.svn151842-2-51-g38682b8

Mirco Bauer meebey at meebey.net
Thu Jun 24 23:39:38 UTC 2010


The following commit has been merged in the master branch:
commit 3411bf78c6bd3bf3e97ecde819e612ff9830924e
Author: Jo Shields <directhex at apebox.org>
Date:   Tue Jun 22 10:30:08 2010 +0100

    put EnableViewStateMac check in the right place. oops.

diff --git a/mcs/class/System.Web/System.Web.Compilation/PageCompiler.cs b/mcs/class/System.Web/System.Web.Compilation/PageCompiler.cs
index 9210035..e12249c 100644
--- a/mcs/class/System.Web/System.Web.Compilation/PageCompiler.cs
+++ b/mcs/class/System.Web/System.Web.Compilation/PageCompiler.cs
@@ -425,7 +425,6 @@ namespace System.Web.Compilation
 				method.Statements.Add (expr);
 			}
 #endif
-		}
 
 			if (!pageParser.EnableViewStateMac) {
 				CodeAssignStatement stmt = new CodeAssignStatement ();
@@ -434,6 +433,8 @@ namespace System.Web.Compilation
 				method.Statements.Add (stmt);
 			}
 
+		}
+
 #if NET_2_0
 		CodeAssignStatement AssignOutputCacheParameter (CodeVariableReferenceExpression variable, string propName, object value)
 		{

-- 
mono



More information about the Pkg-mono-svn-commits mailing list