All pastes #939813 Raw Edit

ironpython - mono

public text v1 · immutable
·published 2008-03-12 16:30 UTC
rendered paste body
$ mono --debug ipy.exe
Unhandled exception:

Unhandled Exception: System.ArgumentException: The method should be static.
Parameter name: method
  at System.Delegate.CreateDelegate (System.Type type, System.Reflection.MethodInfo method, Boolean throwOnBindFailure) [0x001ab] in /var/tmp/portage/dev-lang/mono-1.2.5.1-r1/work/mono-1.2.5.1/mcs/class/corlib/System/Delegate.cs:191
  at System.Delegate.CreateDelegate (System.Type type, System.Reflection.MethodInfo method) [0x00000] in /var/tmp/portage/dev-lang/mono-1.2.5.1-r1/work/mono-1.2.5.1/mcs/class/corlib/System/Delegate.cs:194
  at Microsoft.Scripting.Utils.InvokeHelper`2[System.Object,System.Type]..ctor (System.Reflection.MethodInfo ) [0x00000]
  at <0x00000> <unknown method>
  at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (object,object[])
  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00040] in /var/tmp/portage/dev-lang/mono-1.2.5.1-r1/work/mono-1.2.5.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:385