[Mono-bugs] [Bug 710262] New: Dictionary<decimal, > works differently on Mono and .NET

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Aug 4 05:13:24 EDT 2011


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

https://bugzilla.novell.com/show_bug.cgi?id=710262#c0


           Summary: Dictionary<decimal, > works differently on Mono and
                    .NET
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.10.x
          Platform: 64bit
        OS/Version: openSUSE 11.4
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: System
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: imaudi at comcast.net
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Created an attachment (id=444077)
 --> (http://bugzilla.novell.com/attachment.cgi?id=444077)
Test case

User-Agent:       Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.30 (KHTML,
like Gecko) Chrome/12.0.742.112 Safari/534.30

On .NET, I can add 0.5m as a key and look it up with 0.500m.  On Mono, this
does not work.

Reproducible: Always

Steps to Reproduce:
1. Compile the attached code
2. Run on Mono
3. Run on .NET
Actual Results:  
Mono returns false, .NET returns True.

Expected Results:  
Mono should emulate .NET wherever possible.

-- 
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