diff --git a/Assets/Cryville/Crtr/Extension/RefTypes.cs b/Assets/Cryville/Crtr/Extension/RefTypes.cs index d521662..ca07bde 100644 --- a/Assets/Cryville/Crtr/Extension/RefTypes.cs +++ b/Assets/Cryville/Crtr/Extension/RefTypes.cs @@ -1,4 +1,6 @@ -using System.Collections.Generic; +using System; +using System.Collections.Generic; +using System.Globalization; using System.IO; using System.Linq; using UnityEngine.Scripting; @@ -96,5 +98,10 @@ namespace Cryville.Crtr.Extension { p.ReadLine(); p.ReadToEnd(); } + [Preserve] + public static void PreserveConvert() { + Convert.ChangeType(0, typeof(byte)); + Convert.ChangeType(0, typeof(byte), CultureInfo.InvariantCulture); + } } }