public override void Remove() { } public static void Remove(System.IO.IsolatedStorage.IsolatedStorageScope scope) { }
public void DeleteFile_ThrowsIsolatedStorageException() { using (IsolatedStorageFile isf = IsolatedStorageFile.GetUserStoreForAssembly()) { isf.Remove(); Assert.Throws <IsolatedStorageException>(() => isf.DeleteFile("foo")); } }