10 references to FileExists
Microsoft.Build.Tasks.Core (4)
Copy.cs (4)
182if (!destinationFile.FileExists) 249if (!sourceFileState.FileExists) 291destinationFileState.FileExists && 379if (file.FileExists)
Microsoft.Build.Tasks.UnitTests (6)
FileStateTests.cs (6)
66Assert.Equal(info.Exists, state.FileExists); 188Assert.Equal(info.Exists, state.FileExists); 190Assert.True(state.FileExists); 192Assert.False(state.FileExists); 334Assert.Equal(new FileInfo(Path.GetTempPath()).Exists, new FileState(Path.GetTempPath()).FileExists); 413Assert.False(new FileState(file).FileExists);