private static CultureInfo EmulateDownLevel()
        {
            // GetConsoleFallbackUICulture is not required.
            // This is retained in order not to break existing code.
            ushort      langId = NativeCultureResolver.GetUserDefaultUILanguage();
            CultureInfo ci     = new CultureInfo((int)langId);

            return(ci.GetConsoleFallbackUICulture());
        }
 private static CultureInfo EmulateDownLevel() => new CultureInfo((int)NativeCultureResolver.GetUserDefaultUILanguage()).GetConsoleFallbackUICulture();