Changeset 3579
- Timestamp:
- 05/01/10 14:08:38 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Persistence/3.3/Default/CompositeSerializers/Storable/StorableReflection.cs
r3577 r3579 66 66 DynamicMethod dm = new DynamicMethod("", null, new[] { typeof(object) }, type); 67 67 ILGenerator ilgen = dm.GetILGenerator(); 68 ilgen.Emit(OpCodes.Ldarg_ 1);69 ilgen.Emit(OpCodes.Call , methodInfo);68 ilgen.Emit(OpCodes.Ldarg_0); 69 ilgen.Emit(OpCodes.Callvirt, methodInfo); 70 70 ilgen.Emit(OpCodes.Ret); 71 71 yield return (Hook)dm.CreateDelegate(typeof(Hook));
Note: See TracChangeset
for help on using the changeset viewer.