Author: jbevain
Date: 2008-02-03 07:56:17 -0500 (Sun, 03 Feb 2008)
New Revision: 94679
Modified:
trunk/mcs/class/System.Core/System.Linq.Expressions/EmitContext.cs
Log:
generate dynamic method's names
Modified: trunk/mcs/class/System.Core/System.Linq.Expressions/EmitContext.cs
===================================================================
--- trunk/mcs/class/System.Core/System.Linq.Expressions/EmitContext.cs
2008-02-03 12:31:00 UTC (rev 94678)
+++ trunk/mcs/class/System.Core/System.Linq.Expressions/EmitContext.cs
2008-02-03 12:56:17 UTC (rev 94679)
@@ -99,7 +99,7 @@
// FIXME: Need to force this to be verifiable, see:
// https://bugzilla.novell.com/show_bug.cgi?id=355005
//
- method = new DynamicMethod ("lambda_method",
lambda.Body.Type, param_types, owner_of_code);
+ method = new DynamicMethod (GenerateName (),
lambda.Body.Type, param_types, owner_of_code);
ig = method.GetILGenerator ();
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches