public System.DateTimeOffset GetLastWriteTime(string path) { throw null; } public static System.IO.IsolatedStorage.IsolatedStorageFile GetMachineStoreForApplication() { throw null; }
public void GetLastWriteTime_RaisesArgumentException() { using (IsolatedStorageFile isf = IsolatedStorageFile.GetUserStoreForAssembly()) { Assert.Throws<ArgumentException>(() => isf.GetLastWriteTime("\0bad")); } }