Cosmos/source/Cosmos.System2_Plugs/System/IntPtrImpl.cs

22 lines
No EOL
502 B
C#

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