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 [EMAIL PROTECTED]

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

--- shadow/76382        2005-10-09 04:25:17.000000000 -0400
+++ shadow/76382.tmp.17503      2005-10-09 06:23:41.000000000 -0400
@@ -1,14 +1,14 @@
 Bug#: 76382
 Product: Mono: Compilers
 Version: 1.1
-OS: 
+OS: unknown
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Normal
 Component: C#
 AssignedTo: [EMAIL PROTECTED]                            
 ReportedBy: [EMAIL PROTECTED]               
 QAContact: [EMAIL PROTECTED]
 TargetMilestone: ---
@@ -48,6 +48,42 @@
 
 no error (except for entrypoint not found).
 
 How often does this happen? 
 
 consistently.
+
+------- Additional Comments From [EMAIL PROTECTED]  2005-10-09 06:23 -------
+With the experiment below, I guess this is a compiler problem.
+
+--------
+using System;
+
+public class Test
+{
+        public Ret ret;
+
+        public static void Main ()
+        {
+                Type t1 = typeof (Test).GetField ("ret").FieldType;
+                Type t2 = typeof (Ret<int>).GetGenericTypeDefinition ();
+                Console.WriteLine (t1 == t2);
+                Console.WriteLine (t1);
+                Console.WriteLine (t2.GetGenericTypeDefinition ());
+        }
+}
+
+public interface Ret { }
+public interface Ret<T> {}
+
+----
+
+$ mono gentypes.exe
+False
+Ret
+Ret`1[T]
+
+$ ./gentypes
+False
+Ret
+Ret`1[T]
+
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to