8 references to Length
Microsoft.Build.Tasks.Core (2)
Copy.cs (2)
192if (sourceFile.Length != destinationFile.Length)
Microsoft.Build.Tasks.UnitTests (6)
FileStateTests.cs (6)
150Assert.Equal(info.Length, state.Length); 294Assert.Equal(info.Length, state.Length); 297Assert.Equal(info.Length, state.Length); 300Assert.Equal(info.Length, state.Length); 359Helpers.VerifyAssertThrowsSameWay(delegate () { var x = new FileInfo(Path.GetTempPath()).Length; }, delegate () { var x = new FileState(Path.GetTempPath()).Length; }); 387Helpers.VerifyAssertThrowsSameWay(delegate () { var x = new FileInfo(file).Length; }, delegate () { var x = new FileState(file).Length; });