mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-19 20:39:01 +00:00
22 lines
No EOL
488 B
C#
22 lines
No EOL
488 B
C#
using System;
|
|
using IL2CPU.API;
|
|
using 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;
|
|
}
|
|
}
|
|
} |