[Mono-dev] Re: [Mono-patches] r59521 - in trunk/mcs/class/System.Web: System.Web.Compilation System.Web.UI

Chris Toshok toshok at ximian.com
Tue Apr 25 14:29:11 EDT 2006


Maybe I'm misremembering, but I don't recall approving this patch:

> Modified: trunk/mcs/class/System.Web/System.Web.UI/TemplateParser.cs
> ===================================================================
> --- trunk/mcs/class/System.Web/System.Web.UI/TemplateParser.cs  2006-04-16 05:55:06 UTC (rev 59520)
> +++ trunk/mcs/class/System.Web/System.Web.UI/TemplateParser.cs  2006-04-16 11:44:14 UTC (rev 59521)
> @@ -390,6 +390,20 @@
>                         }
>                 }
>  
> +               internal virtual Assembly AddAssemblyByFileName (string filename)
> +               {
> +                       try {
> +                               Assembly assembly = Assembly.LoadFrom(filename);
> +                               AddAssembly (assembly, true);
> +                               return assembly;
> +                       }
> +                       catch (Exception e)
> +                       {
> +                               ThrowParseException ("Assembly file " + filename + " not found", e);
> +                               return null; //never gets here, only to satisfy the compiler
> +                       }
> +               }
> +



More information about the Mono-devel-list mailing list