public void ParseFailedInSomeCurrentCulture() { Thread.CurrentThread.CurrentCulture = CultureInfo.CreateSpecificCulture("fr-FR"); var time = new XAttribute("time", "1.5"); Assert.Equal(1.5, time.GetDouble()); }