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

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


Marek Safar <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
            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 <[email protected]> 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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to