6 implementations of FileOrDirectoryExists
Microsoft.Build (5)
CachingFileSystemWrapper.cs (1)
24
public bool
FileOrDirectoryExists
(string path)
FileSystem\DirectoryCacheFileSystemWrapper.cs (1)
39
public bool
FileOrDirectoryExists
(string path)
FileSystem\MSBuildFileSystemBase.cs (1)
85
public virtual bool
FileOrDirectoryExists
(string path) => FileSystems.Default.FileOrDirectoryExists(path);
ManagedFileSystem.cs (1)
147
public virtual bool
FileOrDirectoryExists
(string path)
MSBuildOnWindowsFileSystem.cs (1)
81
public bool
FileOrDirectoryExists
(string path)
Microsoft.Build.Engine.UnitTests (1)
FileMatcher_Tests.cs (1)
2664
public bool
FileOrDirectoryExists
(string path)
6 references to FileOrDirectoryExists
Microsoft.Build (5)
CachingFileSystemWrapper.cs (1)
26
return CachedExistenceCheck(path, p => _fileSystem.
FileOrDirectoryExists
(p));
FileSystem\MSBuildFileSystemBase.cs (1)
85
public 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)
2666
return FileSystems.Default.
FileOrDirectoryExists
(path);