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)
147public virtual bool FileOrDirectoryExists(string path)
MSBuildOnWindowsFileSystem.cs (1)
81public bool FileOrDirectoryExists(string path)
Microsoft.Build.Engine.UnitTests (1)
FileMatcher_Tests.cs (1)
2664public bool FileOrDirectoryExists(string path)
6 references to FileOrDirectoryExists
Microsoft.Build (5)
CachingFileSystemWrapper.cs (1)
26return CachedExistenceCheck(path, p => _fileSystem.FileOrDirectoryExists(p));
FileSystem\MSBuildFileSystemBase.cs (1)
85public virtual bool FileOrDirectoryExists(string path) => FileSystems.Default.FileOrDirectoryExists(path);
FileUtilities.cs (3)
684|| (shouldCheckFileOrDirectory && DefaultFileSystem.FileOrDirectoryExists(value.ToString())); 1049? FileExistenceCache.GetOrAdd(fullPath, fullPath => fileSystem.FileOrDirectoryExists(fullPath)) 1050: fileSystem.FileOrDirectoryExists(fullPath);
Microsoft.Build.Engine.UnitTests (1)
FileMatcher_Tests.cs (1)
2666return FileSystems.Default.FileOrDirectoryExists(path);