[Mono-bugs] [Bug 367670] New: Type.Equals() returns true when comparing vector and non-vector array

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Mar 6 03:06:30 EST 2008


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


           Summary: Type.Equals() returns true when comparing vector and
                    non-vector array
           Product: Mono: Class Libraries
           Version: 1.9.0
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: CORLIB
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: jeroen at sumatra.nl
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


The following program prints "True" on Mono and "False" on .NET:

using System;

public class Program
{
  static void Main()
  {
   
Console.WriteLine(typeof(string[]).Equals(Type.GetType("System.String[*]")));
  }
}


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