public void AsyncEndRead_Disposed ()
{
IsolatedStorageFile isf = IsolatedStorageFile.GetUserStoreForApplication ();
using (IsolatedStorageFileStream fs = new IsolatedStorageFileStream ("moon", FileMode.Create, isf)) {
byte [] data = new byte [2];
KeyValuePair<IsolatedStorageFile, IsolatedStorageFileStream> kvp = new KeyValuePair<IsolatedStorageFile, IsolatedStorageFileStream> (isf, fs);
IAsyncResult result = fs.BeginRead (data, 0, 2, new AsyncCallback (EndReadDisposed), kvp);
result.AsyncWaitHandle.WaitOne ();
}
}