[Mono-bugs] [Bug 329450] New: Custom atributes which take generic types as parameters fail to work

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Sep 28 12:30:38 EDT 2007


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

           Summary: Custom atributes which take generic types as parameters
                    fail to work
           Product: Mono: Runtime
           Version: 1.2
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: misc
        AssignedTo: jbevain at novell.com
        ReportedBy: mhabersack at novell.com
         QAContact: mono-bugs at ximian.com
          Found By: ---


Created an attachment (id=175522)
 --> (https://bugzilla.novell.com/attachment.cgi?id=175522)
test.cs

In an attribute of the form

[TypeConverter(typeof(TypedControlIDConverter<IDataSource>))]

the attempt to load the type used in typeof fails with

** (test.exe:13714): WARNING **: Cannot load type
'TypedControlIDConverter`1[System.Web.UI.IDataSource]'

The warning is raised in the load_cattr_value function in the mono runtime
sources.

The attached test case demonstrates the bug.


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


More information about the mono-bugs mailing list