3 implementations of DirectoryExists
Microsoft.Build.Engine.OM.UnitTests (3)
CachingFileSystemWrapper.cs (1)
39public bool DirectoryExists(string path)
ManagedFileSystem.cs (1)
137public virtual bool DirectoryExists(string path)
MSBuildOnWindowsFileSystem.cs (1)
71public bool DirectoryExists(string path)
10 references to DirectoryExists
Microsoft.Build.Engine.OM.UnitTests (10)
BuildEnvironmentHelper.cs (2)
274vsVersion != CurrentVisualStudioVersion || !FileSystems.Default.DirectoryExists(vsInstallDir)) 299.Where(i => i.Version.Major == v.Major && FileSystems.Default.DirectoryExists(i.Path))
CachingFileSystemWrapper.cs (1)
41return CachedExistenceCheck(path, p => _fileSystem.DirectoryExists(p));
FileUtilities.cs (6)
207if (DefaultFileSystem.DirectoryExists(cacheDirectory)) 683return (shouldCheckDirectory && DefaultFileSystem.DirectoryExists(Path.Combine(baseDirectory, directory.ToString()))) 894if (DefaultFileSystem.DirectoryExists(path)) 1001? FileExistenceCache.GetOrAdd(fullPath, fullPath => fileSystem.DirectoryExists(fullPath)) 1002: fileSystem.DirectoryExists(fullPath); 1495if (!string.IsNullOrEmpty(directoryPath) && !DefaultFileSystem.DirectoryExists(directoryPath))
TempFileUtilities.cs (1)
234if (FileSystems.Default.DirectoryExists(Path))