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: [email protected]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [email protected]
          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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to