[Mono-bugs] [Bug 674299] New: Mono.Cairo.Context should implement IDisposable implicitly, instead of explicitly

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Feb 23 06:01:37 EST 2011


https://bugzilla.novell.com/show_bug.cgi?id=674299

https://bugzilla.novell.com/show_bug.cgi?id=674299#c0


           Summary: Mono.Cairo.Context should implement IDisposable
                    implicitly, instead of explicitly
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.6.x
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Mono.Cairo
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: oskar.berggren at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13)
Gecko/20101206 Ubuntu/10.04 (lucid) Firefox/3.6.13

Mono.Cairo.Context implements IDisposable like this:

void IDisposable.Dispose () { ... }

This makes it more difficult to realise that you are supposed to call
Dispose(), since it's not visible in code-completion. The IDisposable prefix
should be removed.

This problem was fixed for many other Mono.Cairo classes on 2009-02-12:
https://github.com/mono/mono/commit/3dd647781845f2942f020c76a5b5006dfcac5a28

It should be fixed for the Context class also.

Reproducible: Always

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