[Mono-bugs] [Bug 554701] New: NSString Comparison is a Reference comparison only

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Nov 11 16:14:58 EST 2009


           Summary: NSString Comparison is a Reference comparison only
    Classification: Mono
           Product: MonoTouch
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: P5 - None
         Component: Runtime
        AssignedTo: gnorton at novell.com
        ReportedBy: terry at inamics.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---

User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6; en-us)
AppleWebKit/531.9 (KHTML, like Gecko) Version/4.0.3 Safari/531.9

Shouldn't this really be a Value Comparison?

Reproducible: Always

Steps to Reproduce:
MonoTouch.Foundation.NSString test1 = new
MonoTouch.Foundation.NSString test2 = new
if( test1 == test2 )
Actual Results:  
"notequal" printed in Console.

Expected Results:  
"equal" printed in Console.

Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list