From b1f09d2f169d56fb9ba9c90a2c283fec5d50d1ee Mon Sep 17 00:00:00 2001 From: Trivalik_cp <42497cfff885d3ca0e6fda54fb6262dd42101bd5sx56jUzf> Date: Thu, 16 Jun 2011 21:23:16 +0000 Subject: [PATCH] comment out ToString for StringBuilder, there is no need for plug anymore --- .../System/Text/StringBuilderImpl.cs | 33 ++++++++++--------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/source2/IL2CPU/Cosmos.IL2CPU/CustomImplementation/System/Text/StringBuilderImpl.cs b/source2/IL2CPU/Cosmos.IL2CPU/CustomImplementation/System/Text/StringBuilderImpl.cs index c9672156e..21cb67fa1 100644 --- a/source2/IL2CPU/Cosmos.IL2CPU/CustomImplementation/System/Text/StringBuilderImpl.cs +++ b/source2/IL2CPU/Cosmos.IL2CPU/CustomImplementation/System/Text/StringBuilderImpl.cs @@ -5,20 +5,21 @@ using System.Text; using Cosmos.IL2CPU.Plugs; namespace Cosmos.IL2CPU.CustomImplementation.System.Text -{ - [Plug(Target = typeof(StringBuilder))] - public static class StringBuilderImpl - { - public static string ToString(StringBuilder aThis) - { - var xResult = new char[aThis.Length]; - int xLength = aThis.Length; - for (int i = 0; i < xLength; i++) - { - xResult[i] = aThis[i]; - } - var xResultStr = new String(xResult); - return xResultStr; - } - } +{ + // no need for plug, after 64 bit support + //[Plug(Target = typeof(StringBuilder))] + //public static class StringBuilderImpl + //{ + // public static string ToString(StringBuilder aThis) + // { + // var xResult = new char[aThis.Length]; + // int xLength = aThis.Length; + // for (int i = 0; i < xLength; i++) + // { + // xResult[i] = aThis[i]; + // } + // var xResultStr = new String(xResult); + // return xResultStr; + // } + //} }