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