3 implementations of FileOrDirectoryExists
Microsoft.Build.Tasks.Core (3)
CachingFileSystemWrapper.cs (1)
24public bool FileOrDirectoryExists(string path)
ManagedFileSystem.cs (1)
147public virtual bool FileOrDirectoryExists(string path)
MSBuildOnWindowsFileSystem.cs (1)
81public bool FileOrDirectoryExists(string path)
4 references to FileOrDirectoryExists
Microsoft.Build.Tasks.Core (4)
CachingFileSystemWrapper.cs (1)
26return CachedExistenceCheck(path, p => _fileSystem.FileOrDirectoryExists(p));
FileUtilities.cs (3)
684|| (shouldCheckFileOrDirectory && DefaultFileSystem.FileOrDirectoryExists(value.ToString())); 1049? FileExistenceCache.GetOrAdd(fullPath, fullPath => fileSystem.FileOrDirectoryExists(fullPath)) 1050: fileSystem.FileOrDirectoryExists(fullPath);