public System.DateTimeOffset GetLastAccessTime(string path) { throw null; } public System.DateTimeOffset GetLastWriteTime(string path) { throw null; }
public void GetLastAccessTime_RaisesArgumentException() { using (IsolatedStorageFile isf = IsolatedStorageFile.GetUserStoreForAssembly()) { AssertExtensions.Throws <ArgumentException>("path", null, () => isf.GetLastAccessTime("\0bad")); } }