Cosmos/source/Cosmos.Core_Plugs/System/MulticastDelegateImpl.cs
2017-12-10 15:57:12 +00:00

30 lines
611 B
C#

using System;
using IL2CPU.API.Attribs;
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;
}
}
}