Cosmos/source/Cosmos.IL2CPU/CustomImplementation/System/CharImpl.cs
charles.betros@hcss.com d46bf5dd09 File system work.
2015-11-16 09:15:38 -06:00

31 lines
No EOL
716 B
C#

namespace Cosmos.IL2CPU.CustomImplementation.System
{
using Cosmos.Debug.Kernel;
using Cosmos.IL2CPU.Plugs;
[Plug(Target = typeof(char))]
public static class CharImpl
{
public static void Cctor()
{
}
public static string ToString(ref char aThis)
{
char[] xResult = new char[1];
xResult[0] = aThis;
return new string(xResult);
}
public static char ToUpper(char aThis)
{
// todo: properly implement Char.ToUpper()
return aThis;
}
public static bool IsWhiteSpace(char aChar)
{
return aChar == ' ' || aChar == '\t';
}
}
}