From 866eac371275c1fc4080ce2492aead6d6158a2b2 Mon Sep 17 00:00:00 2001 From: calberto Date: Wed, 26 May 2010 15:58:05 +0000 Subject: [PATCH] 2010-05-26 Carlos Alberto Cortez * IsolatedStorageFile.cs: Remove should call Close, just as .Net seems to do. git-svn-id: svn+ssh://mono-cvs.ximian.com/source/trunk/mcs@157970 e3ebcda4-bce8-0310-ba0a-eca2169e7518 --- class/corlib/System.IO.IsolatedStorage/ChangeLog | 5 +++++ class/corlib/System.IO.IsolatedStorage/IsolatedStorageFile.cs | 3 +++ 2 files changed, 8 insertions(+) diff --git a/class/corlib/System.IO.IsolatedStorage/ChangeLog b/class/corlib/System.IO.IsolatedStorage/ChangeLog index d57a4d0699..96ca1d556c 100644 --- a/class/corlib/System.IO.IsolatedStorage/ChangeLog +++ b/class/corlib/System.IO.IsolatedStorage/ChangeLog @@ -1,3 +1,8 @@ +2010-05-26 Carlos Alberto Cortez + + * IsolatedStorageFile.cs: Remove should call Close, just as .Net seems + to do. + 2010-05-24 Carlos Alberto Cortez * IsolatedStorageFileStream.cs: When creating the instance, we should check diff --git a/class/corlib/System.IO.IsolatedStorage/IsolatedStorageFile.cs b/class/corlib/System.IO.IsolatedStorage/IsolatedStorageFile.cs index 3c0bd7f6bd..a2db17a646 100644 --- a/class/corlib/System.IO.IsolatedStorage/IsolatedStorageFile.cs +++ b/class/corlib/System.IO.IsolatedStorage/IsolatedStorageFile.cs @@ -700,6 +700,9 @@ namespace System.IO.IsolatedStorage { public override void Remove () { directory.Delete (true); + + // It seems .Net is calling Close from here. + Close (); } -- 2.11.4.GIT