https://bugzilla.novell.com/show_bug.cgi?id=332553

           Summary: Setting CultureInfo.MonthNames   raises an Exception.
           Product: Mono: Class Libraries
           Version: 1.2
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: System
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [EMAIL PROTECTED]
          Found By: ---


Created an attachment (id=177406)
 --> (https://bugzilla.novell.com/attachment.cgi?id=177406)
Small application showing the error.

Description of Problem:
If you try to set the MonthNames array in CultureInfo it raises an Exception.

Steps to reproduce the problem:
Compile the attached application and run it.

Actual Results:
Unhandled Exception: System.ArgumentException: An array with exactly 13
elements is needed
  at System.Globalization.DateTimeFormatInfo.set_RawMonthNames (System.String[]
value) [0x00000]
  at System.Globalization.DateTimeFormatInfo.set_MonthNames (System.String[]
value) [0x00000]
  at TestMonthNames.Main () [0x00000]
Expected Results:
no error.

How often does this happen? 
Always

Additional Information:


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to