Cosmos/source/Cosmos.System2_Plugs/System/EnumImpl.cs
2017-12-10 15:57:12 +00:00

33 lines
No EOL
884 B
C#

using System;
using IL2CPU.API;
using IL2CPU.API.Attribs;
namespace Cosmos.System_Plugs.System
{
[Plug(Target = typeof(Enum))]
public static class EnumImpl
{
// [PlugMethod(Signature = "System_Void__System_Enum__cctor__")]
public static void Cctor()
{
//
}
public static bool Equals(Enum aThis, object aEquals)
{
throw new NotSupportedException("Enum.Equals not supported yet!");
}
//[PlugMethod(Signature = "System_String___System_Enum_ToString____")]
public static string ToString(Enum aThis)
{
return "<Enum.ToString> not implemented";
// return UInt32Impl.ToString(ref aThis);
}
public static int GetHashCode(Enum aThis)
{
throw new NotImplementedException("Enum.GetHashCode()");
}
}
}