forked from CosmosOS/Cosmos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathEnumImpl.cs
33 lines (29 loc) · 884 Bytes
/
EnumImpl.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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()");
}
}
}