[Mono-bugs] [Bug 464830] New: CustomAttributeData.ToString() return Name instead of FullName

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Jan 9 08:33:01 EST 2009


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


           Summary: CustomAttributeData.ToString() return Name instead of
                    FullName
           Product: Mono: Class Libraries
           Version: SVN
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: CORLIB
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: skolima at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


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

According to MSDN, CustomAttributeData.ToString() return a string beginning
with attribute full (namespace-qualified) name. On Mono it returns a simple
name.
Tested on: Mono 2.0.1, svn r122732, Windows and Linux, test case attached,
patch attached

Expected output contains line:

[Some.Long.Namespace.TestAttributeOne("Forcom.Data")]

Actual output contains:

[TestAttributeOne ("Forcom.Data")]


This impacts programs that attempt to examine assembly data through the
reflection-only method (as opposed to CustomAttribute).


-- 
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