[Mono-bugs] [Bug 76390][Nor] New - Generics: internal routines fail to produce stringified types.

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun Oct 9 15:10:19 EDT 2005


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 miguel at ximian.com.

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

--- shadow/76390	2005-10-09 15:10:19.000000000 -0400
+++ shadow/76390.tmp.24758	2005-10-09 15:10:19.000000000 -0400
@@ -0,0 +1,59 @@
+Bug#: 76390
+Product: Mono: Runtime
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: miguel at ximian.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Generics: internal routines fail to produce stringified types.
+
+This problem happens with profilers (module: heap-buddy).
+
+Try profiling the included program, and it will produce:
+
+mono$ mono --profile=heap-buddy /tmp/a.exe
+*** Running with heap-buddy ***
+
+** (/tmp/a.exe:30917): WARNING **: implement me 0x00
+
+
+** ERROR **: file class.c: line 3030 (mono_class_from_mono_type): should
+not be reached
+aborting...
+Aborted
+
+using System;
+using System.Collections.Generic;
+
+class Demo<T> {
+        T variable;
+
+        public Demo (T x)
+        {
+                variable = x;
+        }
+
+        public void Pinta ()
+        {
+                Console.WriteLine ("El valor es: {0} y el tipo es: {1}",
+variable, variable.GetType ());
+        }
+}
+
+class X {
+        static void Main ()
+        {
+                List<object> a = new List<object> ();
+                a.Add (1);
+                a.Add ("hola");
+        }
+}


More information about the mono-bugs mailing list