4 implementations of FileOrDirectoryExists
Microsoft.Build (2)
FileSystem\DirectoryCacheFileSystemWrapper.cs (1)
37
public bool
FileOrDirectoryExists
(string path)
FileSystem\MSBuildFileSystemBase.cs (1)
83
public virtual bool
FileOrDirectoryExists
(string path) => FileSystems.Default.FileOrDirectoryExists(path);
Microsoft.Build.Framework (2)
FileSystem\CachingFileSystemWrapper.cs (1)
23
public bool
FileOrDirectoryExists
(string path)
FileSystem\ManagedFileSystem.cs (1)
145
public virtual bool
FileOrDirectoryExists
(string path)
6 references to FileOrDirectoryExists
Microsoft.Build (2)
Evaluation\Expander.cs (1)
2627
if (FileSystems.Default.
FileOrDirectoryExists
(rootedPath))
FileSystem\MSBuildFileSystemBase.cs (1)
83
public virtual bool FileOrDirectoryExists(string path) => FileSystems.Default.
FileOrDirectoryExists
(path);
Microsoft.Build.Framework (4)
FileSystem\CachingFileSystemWrapper.cs (1)
25
return CachedExistenceCheck(path, p => _fileSystem.
FileOrDirectoryExists
(p));
FileUtilities.cs (3)
895
|| (shouldCheckFileOrDirectory && DefaultFileSystem.
FileOrDirectoryExists
(value.ToString()));
1293
? FileExistenceCache.GetOrAdd(fullPath, fullPath => fileSystem.
FileOrDirectoryExists
(fullPath))
1294
: fileSystem.
FileOrDirectoryExists
(fullPath);