dotgnu-pnet
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pnet-developers] [bug #20790] using does not call Dispose()


From: Radek Polak
Subject: [Pnet-developers] [bug #20790] using does not call Dispose()
Date: Wed, 15 Aug 2007 15:16:40 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en; rv:1.8.1.2) Gecko/20070220 Firefox/2.0.0.2

URL:
  <http://savannah.gnu.org/bugs/?20790>

                 Summary: using does not call Dispose()
                 Project: DotGNU Portable.NET
            Submitted by: radekp
            Submitted on: Wednesday 08/15/2007 at 15:16
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Hello,
this is bug in cscc compiler. It does not emit call to Dispose() method on
following code block:

                IDisposable obj = new SomethigDisposable();
                using(obj)
                {
                } // Dispose() on obj should be called here

I've attached also and sample app.




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wednesday 08/15/2007 at 15:16  Name: ConsoleApp1.tar.gz  Size: 1kB  
By: radekp

<http://savannah.gnu.org/bugs/download.php?file_id=13669>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?20790>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]