[Mono-bugs] [Bug 361338] New: bug in System.Decimal

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Feb 12 19:44:38 EST 2008


           Summary: bug in System.Decimal
           Product: Mono: Class Libraries
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: CORLIB
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: alan.mcgovern at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---

The following testcase throws an exception under mono. Under MS.NET it is
accepted as valid:

using System;

public class Test
    public static void Main (string[] args)
        Decimal d = new decimal(new int[] { 5400000, 0, 0, 10000000, 10000000,
10000000, 0});


 System.ArgumentException: bits does not contain four values
  at System.Decimal..ctor (System.Int32[] bits) [0x00000] 
  at Test.Main (System.String[] args) [0x00000]

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.

More information about the mono-bugs mailing list