Cosmos/source/Cosmos.Core.Plugs/System/Assemblers/DelegateImpl.cs
Charles Betros 438ac960c1 Closes #11
2015-12-31 15:25:10 -06:00

27 lines
893 B
C#

using System;
using Cosmos.IL2CPU.Plugs;
using Cosmos.IL2CPU.Plugs.Assemblers;
namespace Cosmos.Core.Plugs.System.Assemblers
{
[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");
}
}
}