[Mono-bugs] [Bug 353744] New: CodeTypeReference has some issues with generic types

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Jan 14 14:47:58 EST 2008


https://bugzilla.novell.com/show_bug.cgi?id=353744


           Summary: CodeTypeReference has some issues with generic types
           Product: Mono: Class Libraries
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: System
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: juraj at hotfeet.ch
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


The attached test case works on MS.NET, but fails on Mono.
Every "false" it prints is a failure.

On MS.Net the class seems to follow two "modes", depending on which constructor
was used:

Constructor with type given as String:
- string is stored in private member
- get_BaseType returns this string
  - unchanged if it already ends with "`1"/"`2"/...
  - otherwise with "`" + TypeArguments.Count appended on the fly

Constructor with type given as Type object:
- get_BaseType always builds string on the fly


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list