Cosmos/source/Cosmos.Core.Plugs/System/ObjectImpl.cs
2017-01-28 23:04:47 -06:00

32 lines
746 B
C#

using System;
using Cosmos.Debug.Kernel;
using Cosmos.IL2CPU.Plugs;
namespace Cosmos.Core.Plugs.System
{
[Plug(Target = typeof(object))]
public static class ObjectImpl
{
private static Debugger mDebugger = new Debugger("IL2CPU", "ObjectImpl");
public static string ToString(object aThis)
{
mDebugger.Send("<Object.ToString not yet implemented!>");
return "<Object.ToString not yet implemented!>";
}
public static void Ctor(object aThis)
{
}
public static Type GetType(object aThis)
{
return null;
}
public static int GetHashCode(object aThis)
{
return (int)aThis;
}
}
}