[Mono-bugs] [Bug 516172] New: String.Format does not throw enough FormatExceptions

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Jun 24 14:34:48 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=516172


           Summary: String.Format does not throw enough FormatExceptions
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.4.x
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: System
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: saarmstrong at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Created an attachment (id=300176)
 --> (http://bugzilla.novell.com/attachment.cgi?id=300176)
Test with one scenario that should throw FormatException

With a stray "{" in my format string, String.Format should raise a
FormatException, but it does not.  Attaching a unit test that passes with
MS.NET but fails with Mono 2.4 on Linux.

-- 
Configure bugmail: http://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.


More information about the mono-bugs mailing list