Cosmos/source/Cosmos.System.Plugs/System/IntPtrImpl.cs
2017-01-29 17:24:43 -06:00

22 lines
No EOL
475 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;
}
}
}