9 references to LastWriteTimeUtcFast
Microsoft.Build.Tasks.Core (3)
Copy.cs (2)
187
if (sourceFile.
LastWriteTimeUtcFast
!= destinationFile.
LastWriteTimeUtcFast
)
FileState.cs (1)
280
internal DateTime LastWriteTime =>
LastWriteTimeUtcFast
.ToLocalTime();
Microsoft.Build.Tasks.UnitTests (6)
FileStateTests.cs (6)
131
Assert.Equal(info.LastWriteTimeUtc, state.
LastWriteTimeUtcFast
);
266
Assert.Equal(info.LastWriteTimeUtc, state.
LastWriteTimeUtcFast
);
271
Assert.NotEqual(time.ToUniversalTime(), state.
LastWriteTimeUtcFast
);
273
Assert.Equal(time.ToUniversalTime(), state.
LastWriteTimeUtcFast
);
353
Assert.Equal(new FileInfo(Path.GetTempPath()).LastWriteTimeUtc, new FileState(Path.GetTempPath()).
LastWriteTimeUtcFast
);
379
Assert.Equal(new FileInfo(file).LastWriteTimeUtc, new FileState(file).
LastWriteTimeUtcFast
);