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

21 lines
776 B
C#

using System;
namespace Cosmos.IL2CPU.Plugs.System {
[Plug(Target = typeof(MulticastDelegate))]
// [PlugField(FieldType = typeof(int), FieldId = "$$ArgSize$$")]
public class MulticastDelegateImpl {
// there is no such thing as MulticastDelegate.InvokeMulticase. New scanner is more strict
// so I commented this out for now.
//[PlugMethod(Assembler = typeof(Assemblers.MulticastDelegate_Invoke, IsWildcard=true))]
//public static void InvokeMulticast(MulticastDelegate aThis) {
// throw new Exception("This method should be implemented using a MethodAssembler");
//}
public static bool Equals(MulticastDelegate aThis, object aThat) {
// todo: implement MulticastDelegate.Equals(MulticastDelegate)
return false;
}
}
}