fsharp
fsharp copied to clipboard
CurrentCulture is not preserved between submissions of desktop fsi
dotnet fsi appears to, but that may just be an accident.
Repro: Start fsi paste in this script
open System
open System.Globalization
System.Globalization.CultureInfo.CurrentCulture <- System.Globalization.CultureInfo.GetCultureInfo("nl-NL")
System.Console.WriteLine(System.Globalization.CultureInfo.CurrentCulture);;
System.Console.WriteLine(System.Globalization.CultureInfo.CurrentCulture);;
observe that currentculture is different in both submissions.
dotnet fsi being right