[Mono-bugs] [Bug 623390] [csc] Obsolete checks are performed for local events

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Aug 3 15:10:25 EDT 2010


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

http://bugzilla.novell.com/show_bug.cgi?id=623390#c1


Marek Safar <msafar at novell.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |msafar at novell.com
            Summary|Cannot compile an assembly  |[csc] Obsolete checks are
                   |with a method marked        |performed for local events
                   |Obsolete(string,true)       |
           Severity|Normal                      |Minor

--- Comment #1 from Marek Safar <msafar at novell.com> 2010-08-03 19:10:25 UTC ---
I have no idea yet why csc suppress Obsolete checks on events used in same
class

using System;

delegate void D ();

class C
{
    [Obsolete]
    static event D e;

    public static void Main ()
    {
        e = null;
    }
}

Will have to investigate why csc reports nothing.

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