Cosmos/source/Cosmos.System2_Plugs/System/IntPtrImpl.cs
José Pedro a58e3f2fa0 g3
2017-07-30 18:38:20 +01:00

22 lines
No EOL
470 B
C#

using System;
using Cosmos.IL2CPU.API;
namespace Cosmos.System_Plugs.System
{
[Plug(Target = typeof(IntPtr))]
public static class IntPtrImpl
{
// //[PlugMethod(Signature="System_String___System_IntPtr_ToString____")]
public static string ToString(IntPtr aThis)
{
return "<IntPtr>";
}
//}
public static int GetHashCode(ref IntPtr aThis)
{
return (int)aThis;
}
}
}