Author: gonzalo
Date: 2005-04-20 18:18:19 -0400 (Wed, 20 Apr 2005)
New Revision: 43360

Modified:
   trunk/mcs/class/System.Web/System.Web.Compilation/AspGenerator.cs
   trunk/mcs/class/System.Web/System.Web.Compilation/TemplateControlCompiler.cs
Log:
2005-04-20 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>

        * AspGenerator.cs:
        * TemplateControlCompiler.cs: removed warnings.



Modified: trunk/mcs/class/System.Web/System.Web.Compilation/AspGenerator.cs
===================================================================
--- trunk/mcs/class/System.Web/System.Web.Compilation/AspGenerator.cs   
2005-04-20 22:17:06 UTC (rev 43359)
+++ trunk/mcs/class/System.Web/System.Web.Compilation/AspGenerator.cs   
2005-04-20 22:18:19 UTC (rev 43360)
@@ -181,7 +181,6 @@
                StringBuilder tagInnerText = new StringBuilder ();
                static Hashtable emptyHash = new Hashtable ();
                bool inForm;
-               TagStack formTags;
 
                public AspGenerator (TemplateParser tparser)
                {
@@ -290,7 +289,6 @@
                                        PrintTree ((ControlBuilder) o, 
indent++);
                        }
                }
-#endif
                
                static void PrintLocation (ILocation loc)
                {
@@ -302,6 +300,7 @@
                        Console.WriteLine ("\tPlainText: " + loc.PlainText);
                        Console.WriteLine ();
                }
+#endif
 
                void ParseError (ILocation location, string message)
                {
@@ -497,7 +496,6 @@
                                        throw new ParseException (location, 
"Only one <form> allowed.");
 
                                inForm = true;
-                               formTags = new TagStack ();
                        }
 
                        if (builder.HasBody () && !(builder is 
ObjectTagBuilder)) {

Modified: 
trunk/mcs/class/System.Web/System.Web.Compilation/TemplateControlCompiler.cs
===================================================================
--- 
trunk/mcs/class/System.Web/System.Web.Compilation/TemplateControlCompiler.cs    
    2005-04-20 22:17:06 UTC (rev 43359)
+++ 
trunk/mcs/class/System.Web/System.Web.Compilation/TemplateControlCompiler.cs    
    2005-04-20 22:18:19 UTC (rev 43360)
@@ -50,9 +50,6 @@
                static BindingFlags noCaseFlags = BindingFlags.Public | 
BindingFlags.NonPublic |
                                                  BindingFlags.Instance | 
BindingFlags.IgnoreCase;
 
-               static Type styleType = typeof 
(System.Web.UI.WebControls.Style);
-               static Type fontinfoType = typeof 
(System.Web.UI.WebControls.FontInfo);
-
                TemplateControlParser parser;
                int dataBoundAtts;
                ILocation currentLocation;
@@ -60,8 +57,6 @@
                static TypeConverter colorConverter;
 
                static CodeVariableReferenceExpression ctrlVar = new 
CodeVariableReferenceExpression ("__ctrl");
-               static Type [] arrayString = new Type [] {typeof (string)};
-               static Type [] arrayStringCultureInfo = new Type [] {typeof 
(string), typeof (CultureInfo)};
                
 #if NET_2_0
                static Regex bindRegex = new Regex 
(@"Bind\s*\(""(.*?)""\)\s*%>", RegexOptions.Compiled);

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

Reply via email to