1 implementation of FileExists
MSBuildTaskHost (1)
FileSystem\MSBuildTaskHostFileSystem.cs (1)
78public bool FileExists(string path)
11 references to FileExists
MSBuildTaskHost (11)
BuildEnvironmentHelper.cs (4)
213if (FileSystems.Default.FileExists(msBuildExe)) 217else if (FileSystems.Default.FileExists(msBuildDll)) 341if (!string.IsNullOrEmpty(msBuildExePath) && FileSystems.Default.FileExists(msBuildExePath)) 611var existsCheck = mode == BuildEnvironmentMode.VisualStudio ? new Func<string, bool>(_ => true) : FileSystems.Default.FileExists;
FileUtilities.cs (4)
81return !FileSystems.Default.FileExists(lowerCased); 1087? FileExistenceCache.GetOrAdd(fullPath, fullPath => fileSystem.FileExists(fullPath)) 1088: fileSystem.FileExists(fullPath); 1515if (fileSystem.FileExists(possibleFileDirectory))
Modifiers.cs (2)
329if (FileSystems.Default.FileExists(unescapedItemSpec)) 345if (FileSystems.Default.FileExists(unescapedItemSpec))
TaskEngineAssemblyResolver.cs (1)
106if (FileSystems.Default.FileExists(_taskAssemblyFile))