3 implementations of DirectoryExists
MSBuild (3)
CachingFileSystemWrapper.cs (1)
39
public bool
DirectoryExists
(string path)
ManagedFileSystem.cs (1)
139
public virtual bool
DirectoryExists
(string path)
MSBuildOnWindowsFileSystem.cs (1)
71
public bool
DirectoryExists
(string path)
13 references to DirectoryExists
MSBuild (13)
BuildEnvironmentHelper.cs (2)
273
vsVersion != CurrentVisualStudioVersion || !FileSystems.Default.
DirectoryExists
(vsInstallDir))
298
.Where(i => i.Version.Major == v.Major && FileSystems.Default.
DirectoryExists
(i.Path))
CachingFileSystemWrapper.cs (1)
41
return CachedExistenceCheck(path, p => _fileSystem.
DirectoryExists
(p));
FileUtilities.cs (6)
220
if (DefaultFileSystem.
DirectoryExists
(cacheDirectory))
704
return (shouldCheckDirectory && DefaultFileSystem.
DirectoryExists
(Path.Combine(baseDirectory, directory.ToString())))
956
if (DefaultFileSystem.
DirectoryExists
(path))
1063
? FileExistenceCache.GetOrAdd(fullPath, fullPath => fileSystem.
DirectoryExists
(fullPath))
1064
: fileSystem.
DirectoryExists
(fullPath);
1557
if (!string.IsNullOrEmpty(directoryPath) && !DefaultFileSystem.
DirectoryExists
(directoryPath))
TaskFactoryUtilities.cs (1)
251
if (FileSystems.Default.
DirectoryExists
(processSpecificInlineTaskDir))
TempFileUtilities.cs (1)
234
if (FileSystems.Default.
DirectoryExists
(Path))
XMake.cs (2)
3103
if (FileSystems.Default.
DirectoryExists
(projectFile))
3607
if (FileSystems.Default.
DirectoryExists
(projectFile))