[Mono-bugs] [Bug 409583] New: ToString of system pointer types returns wrong value

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Jul 16 11:19:53 EDT 2008


           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: mono-bugs at lists.ximian.com
        ReportedBy: msafar at novell.com
         QAContact: mono-bugs at lists.ximian.com
          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.

More information about the mono-bugs mailing list