- Timestamp:
 - Aug 9, 2017, 7:43:07 PM (8 years ago)
 - File:
 - 
      
- 1 edited
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
binary-improvements/7dtd-server-fixes/src/JSON/JSONBoolean.cs
r279 r309 1 1 using System; 2 using System.Text; 2 3 3 4 namespace AllocsFixes.JSON … … 17 18 } 18 19 19 public override string ToString (bool prettyPrint = false, int currentLevel = 0)20 public override void ToString (StringBuilder stringBuilder, bool prettyPrint = false, int currentLevel = 0) 20 21 { 21 return value.ToString (System.Globalization.CultureInfo.InvariantCulture).ToLower ();22 stringBuilder.Append (value ? "true" : "false"); 22 23 } 23 24  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  ![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)