Re: [IronPython] Unexpected error in 2.0B2

2008-05-04 Thread Curt Hagenlocher
Interestingly, the code works correctly when the flag -X:SaveAssemblies is used. It also doesn't happen if the same code exists in an external assembly that's called by IronPython. This suggests that the issue is in the dynamic code generation in the DLR and is not directly related to any kind of

Re: [IronPython] Unexpected error in 2.0B2

2008-05-03 Thread เสกสรรค์
"Discussion of IronPython" users@lists.ironpython.com Sent: Sat 03/05/08 7:59 AM Subject: Re: [IronPython] Unexpected error in 2.0B2 The following code works for me under B1, but throws an exception under B2: import clr import System name = System.Reflection.Assembly

[IronPython] Unexpected error in 2.0B2

2008-05-02 Thread Curt Hagenlocher
The following code works for me under B1, but throws an exception under B2: import clr import System name = System.Reflection.AssemblyName() name.Name = 'Test' assemblyBuilder = System.AppDomain.CurrentDomain.DefineDynamicAssembly(name, System.Reflection.Emit.AssemblyBuilderAccess.Run) The stack