[Mono-dev] CurrentCulture Empty?

Cory Foy usergroup at cornetdesign.com
Sun Jun 4 12:06:48 EDT 2006

Hi All,

We noticed that our tests in NUnit around CultureInfo were failing with 
an empty culture info. I was going to dig through the Mono source, but 
CultureInfo is apparantly not the most straightforward thing to pull.

Do I need to open a bug report on this?




foyc at dilbert ~/workspace/monobugs $ mono -V
Mono JIT compiler version 1.1.15, (C) 2002-2005 Novell, Inc and 
Contributors. www.mono-project.com
         TLS:           normal
         GC:            Included Boehm (with typed GC)
         SIGSEGV:       normal
         Disabled:      none

foyc at dilbert ~/workspace/monobugs $ cat CultureBug.cs
using System;
using System.Globalization;

public class TestCultureInfo
         public static void Main(String[] args)
                 Console.WriteLine("Current Culture: " + 
                 Console.WriteLine("Current UICulture: " + 

foyc at dilbert ~/workspace/monobugs $ mcs CultureBug.cs

foyc at dilbert ~/workspace/monobugs $ mono CultureBug.exe
Current Culture:
Current UICulture:

More information about the Mono-devel-list mailing list