3 implementations of FileExists
Microsoft.Build.Engine.OM.UnitTests (3)
CachingFileSystemWrapper.cs (1)
44
public bool
FileExists
(string path)
ManagedFileSystem.cs (1)
144
public virtual bool
FileExists
(string path)
MSBuildOnWindowsFileSystem.cs (1)
76
public bool
FileExists
(string path)
12 references to FileExists
Microsoft.Build.Engine.OM.UnitTests (12)
BuildEnvironmentHelper.cs (4)
213
if (FileSystems.Default.
FileExists
(msBuildExe))
217
else if (FileSystems.Default.
FileExists
(msBuildDll))
341
if (!string.IsNullOrEmpty(msBuildExePath) && FileSystems.Default.
FileExists
(msBuildExePath))
611
var existsCheck = mode == BuildEnvironmentMode.VisualStudio ? new Func<string, bool>(_ => true) : FileSystems.Default.
FileExists
;
CachingFileSystemWrapper.cs (1)
46
return CachedExistenceCheck(path, p => _fileSystem.
FileExists
(p));
DebugUtils.cs (1)
116
while (FileSystems.Default.
FileExists
(fullPath))
FileUtilities.cs (4)
81
return !FileSystems.Default.
FileExists
(lowerCased);
1087
? FileExistenceCache.GetOrAdd(fullPath, fullPath => fileSystem.
FileExists
(fullPath))
1088
: fileSystem.
FileExists
(fullPath);
1515
if (fileSystem.
FileExists
(possibleFileDirectory))
TempFileUtilities.cs (1)
188
ErrorUtilities.VerifyThrow(!FileSystems.Default.
FileExists
(file), "Guid should be unique");
TestAssemblyInfo.cs (1)
122
if (FileSystems.Default.
FileExists
(potentialVersionsPropsPath))