Cosmos/source/Indy.IL2CPU/IL/CustomImplementations/System/ObjectImpl.cs
2009-08-18 17:29:09 +00:00

26 lines
No EOL
570 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Indy.IL2CPU.Plugs;
namespace Indy.IL2CPU.IL.CustomImplementations.System {
[Plug(Target=typeof(Object))]
public static class ObjectImpl {
public static string ToString(object aThis)
{
try
{
return (string)aThis;
}
catch
{
return "--object--";
}
}
public static bool InternalEquals(object a, object b) {
return false;
}
}
}