Preserve Convert
.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user