3 implementations of FileExists
MSBuild (3)
CachingFileSystemWrapper.cs (1)
44
public bool
FileExists
(string path)
ManagedFileSystem.cs (1)
142
public virtual bool
FileExists
(string path)
MSBuildOnWindowsFileSystem.cs (1)
76
public bool
FileExists
(string path)
20 references to FileExists
Microsoft.Build.CommandLine.UnitTests (1)
TestAssemblyInfo.cs (1)
111
if (FileSystems.Default.
FileExists
(potentialVersionsPropsPath))
MSBuild (19)
BuildEnvironmentHelper.cs (3)
213
if (FileSystems.Default.
FileExists
(msBuildExe))
217
else if (FileSystems.Default.
FileExists
(msBuildDll))
341
if (!string.IsNullOrEmpty(msBuildExePath) && FileSystems.Default.
FileExists
(msBuildExePath))
CachingFileSystemWrapper.cs (1)
46
return CachedExistenceCheck(path, p => _fileSystem.
FileExists
(p));
FileUtilities.cs (3)
1058
? FileExistenceCache.GetOrAdd(fullPath, fullPath => fileSystem.
FileExists
(fullPath))
1059
: fileSystem.
FileExists
(fullPath);
1486
if (fileSystem.
FileExists
(possibleFileDirectory))
Modifiers.cs (2)
528
if (FileSystems.Default.
FileExists
(unescapedItemSpec))
544
if (FileSystems.Default.
FileExists
(unescapedItemSpec))
ProjectSchemaValidationHandler.cs (1)
49
if (FileSystems.Default.
FileExists
(schemaFile))
TaskEngineAssemblyResolver.cs (1)
106
if (FileSystems.Default.
FileExists
(_taskAssemblyFile))
TempFileUtilities.cs (1)
188
ErrorUtilities.VerifyThrow(!FileSystems.Default.
FileExists
(file), "Guid should be unique");
XMake.cs (7)
411
if (!FileSystems.Default.
FileExists
(path))
2220
else if (!FileSystems.Default.
FileExists
(responseFile))
2453
if (FileSystems.Default.
FileExists
(autoResponseFile))
3052
InitializationException.VerifyThrow(FileSystems.Default.
FileExists
(projectFile), "ProjectNotFoundError", projectFile);
3544
InitializationException.VerifyThrow(FileSystems.Default.
FileExists
(projectFile), "ProjectNotFoundError", projectFile);
4384
if (FileSystems.Default.
FileExists
(testFile))
4542
InitializationException.VerifyThrow(FileSystems.Default.
FileExists
(fileName), "SchemaNotFoundError", fileName);