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

https://bugzilla.novell.com/show_bug.cgi?id=655159#c0


           Summary: Verifier blocks getting custom attributes with types
    Classification: Mono
           Product: Mono: Runtime
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: verifier
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
          Found By: ---
           Blocker: ---


using System;

class FooAttribute : Attribute
{
    public Type [] Types;
}

[Foo (Types = new Type [] {typeof (int), typeof (Type)}    )]
class Test
{
    public static int Main () 
    {
        FooAttribute foo = (FooAttribute) typeof (Test).GetCustomAttributes
(false) [0];
        Console.WriteLine (foo == null);

        return 0;
    }
}

mono bug.exe 
False

mono --verify-all bug.exe 
True

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to