[Mono-bugs] [Bug 75975][Nor] New - [PATCH] [GMCS]
typeof(Foo<>).IsGenericType is false
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Sat Sep 3 11:42:30 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 malekith at pld-linux.org.
http://bugzilla.ximian.com/show_bug.cgi?id=75975
--- shadow/75975 2005-09-03 11:42:30.000000000 -0400
+++ shadow/75975.tmp.31893 2005-09-03 11:42:30.000000000 -0400
@@ -0,0 +1,41 @@
+Bug#: 75975
+Product: Mono: Runtime
+Version: 1.1
+OS:
+OS Details: amd64 pld linux
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs at ximian.com
+ReportedBy: malekith at pld-linux.org
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: [PATCH] [GMCS] typeof(Foo<>).IsGenericType is false
+
+Description of Problem:
+
+typeof(Foo<>).IsGenericType is false while it should be true (it is in MS
+Aug CTP).
+
+The attached patch fixes this.
+
+The testcase:
+
+class T {
+ public static void Main ()
+ {
+ System.Console.WriteLine (typeof
+(System.Collections.Generic.IEnumerable<>).IsGenericType);
+ }
+}
+
+The changelog entry.
+
+2005-09-03 Michal Moskal <malekith at pld-linux.org>
+
+ * icall.c (ves_icall_Type_get_IsGenericType): Return true also
+ if generic_container is non-NULL.
More information about the mono-bugs
mailing list