13 references to FileExistsNoThrow
Microsoft.Build (13)
BackEnd\Components\Communications\NodeProviderOutOfProcTaskHost.cs (1)
555if (FileUtilities.FileExistsNoThrow(fullPath))
BackEnd\Components\SdkResolution\SdkResolverLoader.cs (3)
177if (!string.IsNullOrEmpty(pathToManifest) && !FileUtilities.FileExistsNoThrow(pathToManifest)) 202if (string.IsNullOrEmpty(manifest.Path) || !FileUtilities.FileExistsNoThrow(manifest.Path)) 214if (string.IsNullOrEmpty(assemblyPath) || !FileUtilities.FileExistsNoThrow(assemblyPath))
Evaluation\IntrinsicFunctions.cs (2)
517return taskHostLocation != null && FileUtilities.FileExistsNoThrow(taskHostLocation); 549return FileUtilities.FileExistsNoThrow(path);
Instance\TaskRegistry.cs (6)
373!FileUtilities.FileExistsNoThrow(assemblyFile, fileSystem)) 377if (FileUtilities.FileExistsNoThrow(replacedAssemblyFile, fileSystem)) 391!FileUtilities.FileExistsNoThrow(s_potentialTasksV4Location, fileSystem) && 392FileUtilities.FileExistsNoThrow(s_potentialTasksCoreLocation, fileSystem)) 399!FileUtilities.FileExistsNoThrow(s_potentialTasksV12Location, fileSystem) && 400FileUtilities.FileExistsNoThrow(s_potentialTasksCoreLocation, fileSystem))
TaskFactoryUtilities.cs (1)
53public bool IsValid => string.IsNullOrEmpty(AssemblyPath) || FileUtilities.FileExistsNoThrow(AssemblyPath);