Cosmos/source/Compiler/Indy.IL2CPU.X86.Plugs/NEW_PLUGS/DelegateImpl.cs
kudzu_cp 1f9a36ddf8
2009-09-13 03:24:18 +00:00

17 lines
No EOL
647 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Indy.IL2CPU.Plugs;
namespace Indy.IL2CPU.X86.Plugs.NEW_PLUGS {
[Plug(Target=typeof(Delegate), Inheritable=true)]
[PlugField(FieldType = typeof(int), FieldId = "$$ArgSize$$")]
public static class DelegateImpl {
public static void Ctor(Delegate aThis, object aObject, IntPtr aMethod, [FieldAccess(Name = "System.Object System.Delegate._target")] ref object aFldTarget, [FieldAccess(Name = "System.IntPtr System.Delegate._methodPtr")] ref IntPtr aFldMethod) {
aFldTarget = aObject;
aFldMethod = aMethod;
}
}
}