8 references to LastWriteTime
Microsoft.Build.Tasks.UnitTests (8)
FileStateTests.cs (8)
44Assert.Throws<ArgumentException>(() => { var time = state.LastWriteTime; }); 52delegate () { var x = new FileState(new String('x', 5000)).LastWriteTime; }); 112Assert.Equal(info.LastWriteTime, state.LastWriteTime); 240Assert.Equal(info.LastWriteTime, state.LastWriteTime); 245Assert.NotEqual(time, state.LastWriteTime); 247Assert.Equal(time, state.LastWriteTime); 347Assert.Equal(new FileInfo(Path.GetTempPath()).LastWriteTime, new FileState(Path.GetTempPath()).LastWriteTime); 369Assert.Equal(new FileInfo(file).LastWriteTime, new FileState(file).LastWriteTime);