[Mono-bugs] [Bug 574991] Respect pragma warning disable on partial definitions

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Feb 1 17:58:16 EST 2010


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

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


Michael Hutchinson <mhutchinson at novell.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|mono-bugs at lists.ximian.com  |msafar at novell.com

--- Comment #1 from Michael Hutchinson <mhutchinson at novell.com> 2010-02-01 22:58:15 UTC ---
Example:

partial class A
{
    partial void Foo ()
    {
        Console.WriteLine ("bar");
    }
}

//designer class
partial class A
{
#pragma warning disable 0169
    partial void Foo ();
#pragma warning restore 0169
}

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