using System.Reflection;
using System.Runtime.Loader;
using System.Globalization;
+using System.Runtime.CompilerServices;
namespace Tizen.Runtime
{
// than calling out to the OS for culture-aware casing.
// However, in certain languages, the following function may be significantly slowed down.
// To avoid that kind situation, call it in advance on the candidate process.
+ [MethodImpl(MethodImplOptions.NoOptimization | MethodImplOptions.NoInlining)]
private static void CheckAsciiCasing()
{
_ = CultureInfo.CurrentCulture.CompareInfo.Compare("abcdefghijklmnopqrstuvwxyz", "ABCDEFGHIJKLMNOPQRSTUVWXYZ", CompareOptions.IgnoreCase);
+ _ = "abc".ToUpper().ToLower();
}
public static void Preload()