[Mono-bugs] [Bug 63768][Nor] New - the Name property is wrong on pointer types

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 24 Aug 2004 04:01:25 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by malekith@pld-linux.org.

http://bugzilla.ximian.com/show_bug.cgi?id=63768

--- shadow/63768	2004-08-24 04:01:25.000000000 -0400
+++ shadow/63768.tmp.10326	2004-08-24 04:01:25.000000000 -0400
@@ -0,0 +1,30 @@
+Bug#: 63768
+Product: Mono: Runtime
+Version: unspecified
+OS: All
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: malekith@pld-linux.org               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: the Name property is wrong on pointer types
+
+class M {
+  public static void Main ()
+  {
+    System.Type t = System.Type.GetType ("System.Void*");
+    System.Console.WriteLine ("{0} {1}", t, t.Name);
+  }
+}
+
+The program above prints "System.Void* System", where it should have
+printed "System.Void* Void*" or maybe "System.Void* Void".
+
+I filled bug against runtime, since it's icall.