Cosmos/source/Cosmos.Core.Plugs/System/MulticastDelegateImpl.cs
2016-09-28 23:24:04 -05:00

30 lines
615 B
C#

using System;
using Cosmos.IL2CPU.Plugs;
namespace Cosmos.Core.Plugs.System
{
[Plug(Target = typeof(MulticastDelegate))]
public class MulticastDelegateImpl
{
public static bool Equals(MulticastDelegate aThis, object aThat)
{
// todo: implement MulticastDelegate.Equals(MulticastDelegate)
return false;
}
public static bool TrySetSlot(MulticastDelegate multicastDelegate, object[] a, int index, object o)
{
if (a[index] == null)
{
a[index] = o;
}
if (a[index] != null)
{
return false;
}
return false;
}
}
}