[Mono-bugs] [Bug 655159] New: Verifier blocks getting custom attributes with types
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Sun Nov 21 12:56:20 EST 2010
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: rkumpera at novell.com
ReportedBy: msafar at novell.com
QAContact: mono-bugs at lists.ximian.com
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.
More information about the mono-bugs
mailing list