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


           Summary: ToString of system pointer types returns wrong value
           Product: Mono: Runtime
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: misc
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [email protected]
          Found By: ---


1. compile with -unsafe

using System;
using System.Reflection;

unsafe class Program {
        static void Main ()
        {
                var bang = typeof (Program).GetMethod ("Bang");
                Console.WriteLine (bang);
        }

        public static int* Bang ()
        {
                return (int*) 0;
        }
}


2. run

Expected: Int32* Bang()
Actual: System.Int32* Bang()


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