[Mono-dev] Patch for bug 82046

Thong Nguyen tum at veridicus.com
Mon Jul 9 05:23:41 EDT 2007


http://bugzilla.ximian.com/show_bug.cgi?id=82046

Fixed runtime reporting WARNING **: Cannot load type XXXX errors when trying
to call GetCustomAttributes on a property with an attribute of the form:

[MyAttribute(typeof(GenericType<CustomType>))]
public class MyClass
{
}

Occurs when the program has been compiled with csc which ommits the fully
qualified name of CustomType if it is declared in the same assembly as
MyClass.  gmcs always emits the fully qualified name so the bug doesn't
appear if the program is compield with gmcs.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070709/4fc254dc/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: GenericTypeRefInAttributeBug.diff
Type: application/octet-stream
Size: 4555 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070709/4fc254dc/attachment.obj 


More information about the Mono-devel-list mailing list