Author: mhabersack
Date: 2008-02-04 12:54:07 -0500 (Mon, 04 Feb 2008)
New Revision: 94770

Modified:
   trunk/mcs/class/System.Web/System.Web.Compilation/AspGenerator.cs
   trunk/mcs/class/System.Web/System.Web.Compilation/ChangeLog
Log:
2008-02-04  Marek Habersack  <[EMAIL PROTECTED]>

        * AspGenerator.cs: set isApplication before parsing. Fixes bug
        #357036.


Modified: trunk/mcs/class/System.Web/System.Web.Compilation/AspGenerator.cs
===================================================================
--- trunk/mcs/class/System.Web/System.Web.Compilation/AspGenerator.cs   
2008-02-04 17:53:11 UTC (rev 94769)
+++ trunk/mcs/class/System.Web/System.Web.Compilation/AspGenerator.cs   
2008-02-04 17:54:07 UTC (rev 94770)
@@ -259,6 +259,7 @@
 
                public void Parse (string file)
                {
+                       isApplication = tparser.DefaultDirectiveName == 
"application";
 #if ONLY_1_1
                        InitParser (file);
 #endif
@@ -333,7 +334,6 @@
                                return type;
                        }
 
-                       isApplication = tparser.DefaultDirectiveName == 
"application";
                        Parse ();
 
                        BaseCompiler compiler = GetCompilerFromType ();

Modified: trunk/mcs/class/System.Web/System.Web.Compilation/ChangeLog
===================================================================
--- trunk/mcs/class/System.Web/System.Web.Compilation/ChangeLog 2008-02-04 
17:53:11 UTC (rev 94769)
+++ trunk/mcs/class/System.Web/System.Web.Compilation/ChangeLog 2008-02-04 
17:54:07 UTC (rev 94770)
@@ -1,3 +1,8 @@
+2008-02-04  Marek Habersack  <[EMAIL PROTECTED]>
+
+       * AspGenerator.cs: set isApplication before parsing. Fixes bug
+       #357036.
+
 2008-01-31  Jb Evain  <[EMAIL PROTECTED]>
 
        * AspGenerator.cs: correct typo. Fix #357547.

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to