mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-20 04:48:53 +00:00
23 lines
No EOL
841 B
C#
23 lines
No EOL
841 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Globalization;
|
|
using Indy.IL2CPU.Plugs;
|
|
|
|
namespace Indy.IL2CPU.IL.CustomImplementations.System
|
|
{
|
|
|
|
[Plug(TargetName="System.Number, mscorlib")] // not sure about FQN or not, also have a look at the param name
|
|
public static class NumberImpl
|
|
{
|
|
public static string FormatInt32(int aInt, string aStr, NumberFormatInfo aFormat)
|
|
{
|
|
return "this is a test - fix me in Indy.IL2CPU.IL.CustomImplementations.System.NumberImpl.FormatInt32";
|
|
}
|
|
public static string FormatDouble(double aInt, string aStr, NumberFormatInfo aFormat)
|
|
{
|
|
return "this is a test - fix me in Indy.IL2CPU.IL.CustomImplementations.System.NumberImpl.FormatDouble";
|
|
}
|
|
}
|
|
} |