6 implementations of FileOrDirectoryExists
Microsoft.Build (5)
CachingFileSystemWrapper.cs (1)
24public bool FileOrDirectoryExists(string path)
FileSystem\DirectoryCacheFileSystemWrapper.cs (1)
39public bool FileOrDirectoryExists(string path)
FileSystem\MSBuildFileSystemBase.cs (1)
85public virtual bool FileOrDirectoryExists(string path) => FileSystems.Default.FileOrDirectoryExists(path);
ManagedFileSystem.cs (1)
149public virtual bool FileOrDirectoryExists(string path)
MSBuildOnWindowsFileSystem.cs (1)
81public bool FileOrDirectoryExists(string path)
Microsoft.Build.Engine.UnitTests (1)
FileMatcher_Tests.cs (1)
2689public bool FileOrDirectoryExists(string path)
7 references to FileOrDirectoryExists
Microsoft.Build (6)
CachingFileSystemWrapper.cs (1)
26return CachedExistenceCheck(path, p => _fileSystem.FileOrDirectoryExists(p));
Evaluation\Expander.cs (1)
2614if (FileSystems.Default.FileOrDirectoryExists(rootedPath))
FileSystem\MSBuildFileSystemBase.cs (1)
85public virtual bool FileOrDirectoryExists(string path) => FileSystems.Default.FileOrDirectoryExists(path);
FileUtilities.cs (3)
705|| (shouldCheckFileOrDirectory && DefaultFileSystem.FileOrDirectoryExists(value.ToString())); 1111? FileExistenceCache.GetOrAdd(fullPath, fullPath => fileSystem.FileOrDirectoryExists(fullPath)) 1112: fileSystem.FileOrDirectoryExists(fullPath);
Microsoft.Build.Engine.UnitTests (1)
FileMatcher_Tests.cs (1)
2691return FileSystems.Default.FileOrDirectoryExists(path);