3 implementations of FileOrDirectoryExists
Microsoft.Build.Tasks.Core (3)
CachingFileSystemWrapper.cs (1)
24
public bool
FileOrDirectoryExists
(string path)
ManagedFileSystem.cs (1)
147
public virtual bool
FileOrDirectoryExists
(string path)
MSBuildOnWindowsFileSystem.cs (1)
81
public bool
FileOrDirectoryExists
(string path)
4 references to FileOrDirectoryExists
Microsoft.Build.Tasks.Core (4)
CachingFileSystemWrapper.cs (1)
26
return 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);