Cosmos/source/Cosmos.System_Plugs/System/IntPtrImpl.cs
2017-07-12 14:23:19 -04:00

22 lines
No EOL
472 B
C#

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