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


           Summary: Type.Name returns incorrect string for non-vector arrays
           Product: Mono: Class Libraries
           Version: 1.2.6
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: CORLIB
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [EMAIL PROTECTED]
          Found By: ---


This program prints "String[]" on Mono, but should print "String[*]":

using System;

class Test
{
  static void Main()
  {
    object obj = Array.CreateInstance(typeof(string), new int[] { 1 }, new
int[] { 1 });
    Console.WriteLine(obj.GetType().Name);
  }
}


-- 
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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to