3 implementations of FileExists
Microsoft.Build.Engine.OM.UnitTests (3)
CachingFileSystemWrapper.cs (1)
44
public bool
FileExists
(string path)
ManagedFileSystem.cs (1)
142
public virtual bool
FileExists
(string path)
MSBuildOnWindowsFileSystem.cs (1)
76
public bool
FileExists
(string path)
9 references to FileExists
Microsoft.Build.Engine.OM.UnitTests (9)
BuildEnvironmentHelper.cs (3)
214
if (FileSystems.Default.
FileExists
(msBuildExe))
218
else if (FileSystems.Default.
FileExists
(msBuildDll))
342
if (!string.IsNullOrEmpty(msBuildExePath) && FileSystems.Default.
FileExists
(msBuildExePath))
CachingFileSystemWrapper.cs (1)
46
return CachedExistenceCheck(path, p => _fileSystem.
FileExists
(p));
FileUtilities.cs (3)
1025
? FileExistenceCache.GetOrAdd(fullPath, fullPath => fileSystem.
FileExists
(fullPath))
1026
: fileSystem.
FileExists
(fullPath);
1453
if (fileSystem.
FileExists
(possibleFileDirectory))
TempFileUtilities.cs (1)
188
ErrorUtilities.VerifyThrow(!FileSystems.Default.
FileExists
(file), "Guid should be unique");
TestAssemblyInfo.cs (1)
111
if (FileSystems.Default.
FileExists
(potentialVersionsPropsPath))