[Mono-bugs] [Bug 604912] New: Attribute is inherited even if Inherited=false

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue May 11 16:25:50 EDT 2010


http://bugzilla.novell.com/show_bug.cgi?id=604912

http://bugzilla.novell.com/show_bug.cgi?id=604912#c0


           Summary: Attribute is inherited even if Inherited=false
    Classification: Mono
           Product: Mono: Runtime
           Version: 1.2.0
          Platform: x86-64
        OS/Version: openSUSE 11.2
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: misc
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: vkudriavtsev at custis.ru
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Opera/9.80 (Windows NT 6.1; U; ru) Presto/2.5.24
Version/10.53

Attribute.IsDefined( typeof(InheritedClass), typeof(Attribute)) returns true
when attribute is defined on base class, is NOT defined on inherited class and
attribute cannot be inherited

Reproducible: Always

Steps to Reproduce:
1. Run attached program in Mono runtime    

Actual Results:  
true
true  

Expected Results:  
(as it happens in .NET 3.5)
true
false

-- 
Configure bugmail: http://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