Bug 318882 (MONO75975) - [PATCH] [GMCS] typeof(Foo<>).IsGenericType is false
Summary: [PATCH] [GMCS] typeof(Foo<>).IsGenericType is false
Status: RESOLVED FIXED
Alias: MONO75975
Product: Mono: Runtime
Classification: Mono
Component: misc (show other bugs)
Version: 1.1
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Mono Bugs
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-03 18:42 UTC by Michal Moskal
Modified: 2007-09-15 21:24 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
patch (397 bytes, patch)
2005-09-03 18:43 UTC, Thomas Wiest
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wiest 2007-09-15 19:29:23 UTC


---- Reported by malekith@pld-linux.org 2005-09-03 11:42:30 MST ----

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@pld-linux.org>

        * icall.c (ves_icall_Type_get_IsGenericType): Return true also
        if generic_container is non-NULL.



---- Additional Comments From malekith@pld-linux.org 2005-09-03 11:43:08 MST ----

Created an attachment (id=168459)
patch




---- Additional Comments From martin@ximian.com 2005-09-05 03:10:55 MST ----

Fixed.

Imported an attachment (id=168459)

Unknown bug field "cf_op_sys_details" encountered while moving bug
   <cf_op_sys_details>amd64 pld linux</cf_op_sys_details>
Unknown operating system unknown. Setting to default OS "Other".