6 implementations of FileOrDirectoryExists
Microsoft.Build (2)
FileSystem\DirectoryCacheFileSystemWrapper.cs (1)
37public bool FileOrDirectoryExists(string path)
FileSystem\MSBuildFileSystemBase.cs (1)
83public virtual bool FileOrDirectoryExists(string path) => FileSystems.Default.FileOrDirectoryExists(path);
Microsoft.Build.Engine.UnitTests (1)
FileMatcher_Tests.cs (1)
2689public bool FileOrDirectoryExists(string path)
Microsoft.Build.Framework (3)
FileSystem\CachingFileSystemWrapper.cs (1)
23public bool FileOrDirectoryExists(string path)
FileSystem\ManagedFileSystem.cs (1)
145public virtual bool FileOrDirectoryExists(string path)
FileSystem\MSBuildOnWindowsFileSystem.cs (1)
79public bool FileOrDirectoryExists(string path)
7 references to FileOrDirectoryExists
Microsoft.Build (2)
Evaluation\Expander.cs (1)
2622if (FileSystems.Default.FileOrDirectoryExists(rootedPath))
FileSystem\MSBuildFileSystemBase.cs (1)
83public virtual bool FileOrDirectoryExists(string path) => FileSystems.Default.FileOrDirectoryExists(path);
Microsoft.Build.Engine.UnitTests (1)
FileMatcher_Tests.cs (1)
2691return FileSystems.Default.FileOrDirectoryExists(path);
Microsoft.Build.Framework (4)
FileSystem\CachingFileSystemWrapper.cs (1)
25return CachedExistenceCheck(path, p => _fileSystem.FileOrDirectoryExists(p));
FileUtilities.cs (3)
841|| (shouldCheckFileOrDirectory && DefaultFileSystem.FileOrDirectoryExists(value.ToString())); 1239? FileExistenceCache.GetOrAdd(fullPath, fullPath => fileSystem.FileOrDirectoryExists(fullPath)) 1240: fileSystem.FileOrDirectoryExists(fullPath);