Cosmos/source/Cosmos.IL2CPU/Plugs/NEW_PLUGS/DelegateImpl.cs
2014-11-26 01:13:58 +00:00

25 lines
No EOL
898 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Cosmos.IL2CPU.Plugs;
using Indy.IL2CPU.X86.Plugs.NEW_PLUGS;
namespace Cosmos.IL2CPU.X86.Plugs.NEW_PLUGS {
[Plug(Target=typeof(Delegate), Inheritable=true)]
[PlugField(FieldType = typeof(int), FieldId = "$$ArgSize$$")]
public static class DelegateImpl {
[PlugMethod(Assembler = typeof(CtorImplAssembler), IsWildcard=true, WildcardMatchParameters=true)]
public static void Ctor(Delegate aThis, object aTarget, IntPtr aMethod) {
//aFldTarget = aObject;
//aFldMethod = aMethod;
throw new NotImplementedException("Implemented by method assembler");
}
[PlugMethod(IsWildcard=true, Assembler=typeof(InvokeImplAssembler))]
public static void Invoke() {
throw new NotImplementedException("Implemented by method assembler");
}
}
}