3 implementations of DirectoryExists
Microsoft.Build.Tasks.Core (3)
CachingFileSystemWrapper.cs (1)
39
public bool
DirectoryExists
(string path)
ManagedFileSystem.cs (1)
137
public virtual bool
DirectoryExists
(string path)
MSBuildOnWindowsFileSystem.cs (1)
71
public bool
DirectoryExists
(string path)
28 references to DirectoryExists
Microsoft.Build.Tasks.Core (28)
BootstrapperUtil\BootstrapperBuilder.cs (3)
531
if (FileSystems.Default.
DirectoryExists
(startDirectory))
601
if (FileSystems.Default.
DirectoryExists
(packagePath))
1582
if (!FileSystems.Default.
DirectoryExists
(strFolderPath))
BuildEnvironmentHelper.cs (2)
274
vsVersion != CurrentVisualStudioVersion || !FileSystems.Default.
DirectoryExists
(vsInstallDir))
299
.Where(i => i.Version.Major == v.Major && FileSystems.Default.
DirectoryExists
(i.Path))
CachingFileSystemWrapper.cs (1)
41
return CachedExistenceCheck(path, p => _fileSystem.
DirectoryExists
(p));
Copy.cs (1)
259
if (!FileSystems.Default.
DirectoryExists
(destinationFolder))
Exec.cs (1)
526
if (!FileSystems.Default.
DirectoryExists
(_workingDirectory))
FileMatcher.cs (2)
247
if (fileSystem.
DirectoryExists
(path))
2100
if (fixedDirectoryPart.Length > 0 && !_fileSystem.
DirectoryExists
(fixedDirectoryPart))
FileUtilities.cs (6)
207
if (DefaultFileSystem.
DirectoryExists
(cacheDirectory))
683
return (shouldCheckDirectory && DefaultFileSystem.
DirectoryExists
(Path.Combine(baseDirectory, directory.ToString())))
894
if (DefaultFileSystem.
DirectoryExists
(path))
1001
? FileExistenceCache.GetOrAdd(fullPath, fullPath => fileSystem.
DirectoryExists
(fullPath))
1002
: fileSystem.
DirectoryExists
(fullPath);
1495
if (!string.IsNullOrEmpty(directoryPath) && !DefaultFileSystem.
DirectoryExists
(directoryPath))
GenerateResource.cs (2)
2682
if (!FileSystems.Default.
DirectoryExists
(currentOutputDirectory))
2856
if (!FileSystems.Default.
DirectoryExists
(shorterPath))
ManifestUtil\LauncherBuilder.cs (1)
106
if (!FileSystems.Default.
DirectoryExists
(strFolderPath))
ManifestUtil\Util.cs (1)
285
if (!FileSystems.Default.
DirectoryExists
(logPath))
Move.cs (3)
206
if (FileSystems.Default.
DirectoryExists
(destinationFile))
212
if (FileSystems.Default.
DirectoryExists
(sourceFile))
236
if (!string.IsNullOrEmpty(destinationFolder) && !FileSystems.Default.
DirectoryExists
(destinationFolder))
NativeMethods.cs (2)
1323
if (FileSystems.Default.
DirectoryExists
(s_gacPath))
1449
if (FileSystems.Default.
DirectoryExists
(path))
RedistList.cs (1)
307
if (FileSystems.Default.
DirectoryExists
(redistDirectory))
RemoveDir.cs (1)
64
if (FileSystems.Default.
DirectoryExists
(directory.ItemSpec))
TempFileUtilities.cs (1)
234
if (FileSystems.Default.
DirectoryExists
(Path))