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