Preserve Convert.

This commit is contained in:
2023-03-22 20:04:32 +08:00
parent 94d5f7f82e
commit 054b17811d

View File

@@ -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);
}
}
}