Author: spouliot
Date: 2005-03-16 08:54:50 -0500 (Wed, 16 Mar 2005)
New Revision: 41900
Modified:
branches/mono-1-0/mcs/class/corlib/System.Reflection/Assembly.cs
Log:
Fix when compiling with an older corlib which doesn't have Mono.Security.Uri
available
Modified: branches/mono-1-0/mcs/class/corlib/System.Reflection/Assembly.cs
===================================================================
--- branches/mono-1-0/mcs/class/corlib/System.Reflection/Assembly.cs
2005-03-16 13:29:41 UTC (rev 41899)
+++ branches/mono-1-0/mcs/class/corlib/System.Reflection/Assembly.cs
2005-03-16 13:54:50 UTC (rev 41900)
@@ -101,7 +101,11 @@
public virtual string EscapedCodeBase {
get {
+#if BOOTSTRAP_WITH_OLDLIB
+ return get_code_base ();
+#else
return Uri.EscapeString (get_code_base (),
false, true, true);
+#endif
}
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches