239 references to FileSystems
Microsoft.Build (73)
BackEnd\BuildManager\BuildManager.cs (2)
3506if (inputCacheFiles.Any(f => !FileSystems.Default.FileExists(f))) 3508LogErrorAndShutdown(ResourceUtilities.FormatResourceStringIgnoreCodeAndKeyword("InputCacheFilesDoNotExist", string.Join(";", inputCacheFiles.Where(f => !FileSystems.Default.FileExists(f)))));
BackEnd\BuildManager\BuildParameters.cs (1)
1097if (FileSystems.Default.FileExists(path))
BackEnd\BuildManager\EnvironmentVariableValidator.cs (1)
43if (FileSystems.Default.DirectoryExists(dotnetHostPath))
BackEnd\Components\Communications\CurrentHost.cs (2)
34if (FileSystems.Default.FileExists(dotnetExe)) 54host = FileSystems.Default.FileExists(dotnetExe)
BackEnd\Components\Communications\NodeLauncher.cs (1)
86if (!FileSystems.Default.FileExists(msbuildLocation))
BackEnd\Components\Communications\NodeProviderOutOfProcTaskHost.cs (2)
545if (!FileSystems.Default.DirectoryExists(path)) 856return FileSystems.Default.FileExists(appHostPath)
BackEnd\Components\Communications\RarNodeLauncher.cs (2)
62IEnumerable<string> pipeNames = FileSystems.Default.EnumerateFiles(NamedPipeRoot); 69return FileSystems.Default.FileExists(_pipeName);
BackEnd\Components\RequestBuilder\IntrinsicTasks\ItemGroupIntrinsicTask.cs (4)
75FileSystems.Default, 182FileSystems.Default, 218FileSystems.Default, 336FileSystems.Default,
BackEnd\Components\RequestBuilder\IntrinsicTasks\MSBuild.cs (1)
336if (FileSystems.Default.FileExists(projectPath) || (skipNonExistProjects == SkipNonExistentProjectsBehavior.Build))
BackEnd\Components\RequestBuilder\IntrinsicTasks\PropertyGroupIntrinsicTask.cs (1)
71FileSystems.Default,
BackEnd\Components\RequestBuilder\ItemBucket.cs (1)
105_expander = new Expander<ProjectPropertyInstance, ProjectItemInstance>(_lookup, _lookup, new StringMetadataTable(_metadata), FileSystems.Default, loggingContext);
BackEnd\Components\RequestBuilder\TargetEntry.cs (4)
184_expander = new Expander<ProjectPropertyInstance, ProjectItemInstance>(baseLookup, baseLookup, FileSystems.Default, loggingContext); 359FileSystems.Default, 621FileSystems.Default, 713FileSystems.Default,
BackEnd\Components\RequestBuilder\TaskBuilder.cs (2)
408FileSystems.Default, 1120FileSystems.Default,
BackEnd\Components\Scheduler\Scheduler.cs (1)
2748shouldWriteHeader = !FileSystems.Default.FileExists(_debugDumpStateFilePath);
BackEnd\Components\Scheduler\SchedulingPlan.cs (1)
154if (!FileSystems.Default.FileExists(planName))
BackEnd\Shared\BuildRequestConfiguration.cs (1)
1020if (FileSystems.Default.FileExists(cacheFile))
BackEnd\Shared\BuildResult.cs (1)
746if (FileSystems.Default.DirectoryExists(resultsDirectory))
BackEnd\Shared\TargetResult.cs (1)
319if (!FileSystems.Default.FileExists(cacheFile))
BuildCheck\Checks\UntrustedLocationCheck.cs (1)
98if (locationFromEnv != null && FileSystems.Default.DirectoryExists(locationFromEnv))
BuildCheck\Infrastructure\EditorConfig\EditorConfigParser.cs (1)
55return EditorConfigFile.Parse(FileSystems.Default.ReadFileAllText(editorConfigFilePath));
Construction\ProjectRootElement.cs (3)
1661ErrorUtilities.VerifyThrowInvalidOperation(FileSystems.Default.FileExists(path), "FileToReloadFromDoesNotExist", path); 1966if (!FileSystems.Default.FileExists(path)) 1991string contents = FileSystems.Default.ReadFileAllText(path);
Construction\Solution\SolutionFile.cs (2)
635if (!FileSystems.Default.FileExists(_solutionFile)) 671JsonDocument text = JsonDocument.Parse(FileSystems.Default.ReadFileAllText(solutionFilterFile), options);
Definition\ProjectItem.cs (1)
500Expander<ProjectProperty, ProjectItem> expander = new Expander<ProjectProperty, ProjectItem>(null, null, new BuiltInMetadataTable(this), FileSystems.Default);
Definition\Toolset.cs (3)
862_expander = new Expander<ProjectPropertyInstance, ProjectItemInstance>(propertyBag, FileSystems.Default, loggingContext); 900overrideDirectoryExists = FileSystems.Default.DirectoryExists(_overrideTasksPath); 949FileSystems.Default);
Definition\ToolsetConfigurationReader.cs (1)
274FileSystems.Default.FileExists(BuildEnvironmentHelper.Instance.CurrentMSBuildConfigurationFile))
Definition\ToolsetReader.cs (3)
190if (FileSystems.Default.DirectoryExists(xbuildToolsetsDir)) 443Expander<ProjectPropertyInstance, ProjectItemInstance> expander = new Expander<ProjectPropertyInstance, ProjectItemInstance>(initialProperties, FileSystems.Default); 561expander = new Expander<ProjectPropertyInstance, ProjectItemInstance>(initialProperties, FileSystems.Default);
Evaluation\Context\EvaluationContext.cs (1)
70FileSystem = fileSystem ?? new CachingFileSystemWrapper(FileSystems.Default);
Evaluation\Evaluator.cs (2)
1918if (FileSystems.Default.FileExists(dotnetExe)) 2273if (!FileSystems.Default.FileExists(importFileUnescaped))
Evaluation\Expander.ItemExpander.Transforms.cs (1)
193if (FileSystems.Default.FileOrDirectoryExists(rootedPath))
Evaluation\IntrinsicFunctions.cs (1)
738if (FileSystems.Default.FileExists(pathToAssembly))
FileSystem\MSBuildFileSystemBase.cs (12)
25public virtual TextReader ReadFile(string path) => FileSystems.Default.ReadFile(path); 30public virtual Stream GetFileStream(string path, FileMode mode, FileAccess access, FileShare share) => FileSystems.Default.GetFileStream(path, mode, access, share); 35public virtual string ReadFileAllText(string path) => FileSystems.Default.ReadFileAllText(path); 40public virtual byte[] ReadFileAllBytes(string path) => FileSystems.Default.ReadFileAllBytes(path); 46=> FileSystems.Default.EnumerateFiles(path, searchPattern, searchOption); 52=> FileSystems.Default.EnumerateDirectories(path, searchPattern, searchOption); 58=> FileSystems.Default.EnumerateFileSystemEntries(path, searchPattern, searchOption); 63public virtual FileAttributes GetAttributes(string path) => FileSystems.Default.GetAttributes(path); 68public virtual DateTime GetLastWriteTimeUtc(string path) => FileSystems.Default.GetLastWriteTimeUtc(path); 73public virtual bool DirectoryExists(string path) => FileSystems.Default.DirectoryExists(path); 78public virtual bool FileExists(string path) => FileSystems.Default.FileExists(path); 83public virtual bool FileOrDirectoryExists(string path) => FileSystems.Default.FileOrDirectoryExists(path);
Instance\ProjectInstance.cs (3)
2331Expander<ProjectPropertyInstance, ProjectItemInstance> expander = new Expander<ProjectPropertyInstance, ProjectItemInstance>(this, this, FileSystems.Default, _loggingContext); 2349Expander<ProjectPropertyInstance, ProjectItemInstance> expander = new Expander<ProjectPropertyInstance, ProjectItemInstance>(this, this, FileSystems.Default, _loggingContext); 2358FileSystems.Default,
Instance\ProjectItemInstance.cs (1)
1439Expander<ProjectPropertyInstance, ProjectItemInstance> expander = new Expander<ProjectPropertyInstance, ProjectItemInstance>(null, null, new BuiltInMetadataTable(null, this), FileSystems.Default);
Logging\BinaryLogger\ProjectImportsCollector.cs (2)
222if (checkFileExistence && !FileSystems.Default.FileExists(filePath)) 268if (FileSystems.Default.FileExists(_archiveFilePath))
src\msbuild\src\Shared\Debugging\DebugUtils.cs (4)
80while (FileSystems.Default.FileExists(fullPath)) 172IEnumerable<string> files = FileSystems.Default.EnumerateFiles(DebugDumpPath, "MSBuild*failure.txt"); 176if (FileSystems.Default.GetLastWriteTimeUtc(file) >= fromTimeUtc) 182builder.Append(FileSystems.Default.ReadFileAllText(file));
src\msbuild\src\Shared\TaskEngineAssemblyResolver.cs (1)
106if (FileSystems.Default.FileExists(_taskAssemblyFile))
Utilities\EngineFileUtilities.cs (1)
608return existenceCache.Value.GetOrAdd(directory, directory => FileSystems.Default.DirectoryExists(directory));
Microsoft.Build.Framework (30)
BuildEnvironmentHelper.cs (5)
214if (FileSystems.Default.FileExists(msBuildExecutableCandidate)) 270vsVersion != CurrentVisualStudioVersion || !FileSystems.Default.DirectoryExists(vsInstallDir)) 295.Where(i => i.Version.Major == v.Major && FileSystems.Default.DirectoryExists(i.Path)) 338if (!string.IsNullOrEmpty(msBuildExePath) && FileSystems.Default.FileExists(msBuildExePath)) 623var existsCheck = mode == BuildEnvironmentMode.VisualStudio ? new Func<string, bool>(_ => true) : FileSystems.Default.FileExists;
FileUtilities.cs (3)
91return !FileSystems.Default.FileExists(lowerCased); 143private static readonly IFileSystem DefaultFileSystem = FileSystems.Default; 939foreach (string dir in FileSystems.Default.EnumerateDirectories(directory))
FileUtilities_TempFiles.cs (2)
195Assumed.False(FileSystems.Default.FileExists(file), "Guid should be unique"); 237if (FileSystems.Default.DirectoryExists(Path))
Loader\CoreCLRAssemblyLoader.cs (1)
182!FileSystems.Default.FileExists(candidatePath))
Loader\MSBuildLoadContext.cs (4)
46_resolver = FileSystems.Default.FileExists(assemblyPath) && FileSystems.Default.FileExists(Path.ChangeExtension(assemblyPath, ".deps.json")) 85if (!FileSystems.Default.FileExists(candidatePath)) 107if (FileSystems.Default.FileExists(assemblyNameInExecutableDirectory))
Utilities\FileMatcher.cs (1)
90public static FileMatcher Default = new FileMatcher(FileSystems.Default, null);
Utilities\FrameworkLocationHelper.cs (7)
980if (FileSystems.Default.DirectoryExists(combinedPath)) 1148if (FileSystems.Default.DirectoryExists(programFilesReferenceAssemblyDirectory)) 1458FileSystems.Default.DirectoryExists, 1468(!FileSystems.Default.FileExists(Path.Combine(generatedPathToDotNetFramework, Constants.MSBuildExecutableName)) && 1469!FileSystems.Default.FileExists(Path.Combine(generatedPathToDotNetFramework, "Microsoft.Build.dll")))) 1504if (!string.IsNullOrEmpty(frameworkPath) && FileSystems.Default.DirectoryExists(frameworkPath)) 1606if (FileSystems.Default.DirectoryExists(referencePath))
Utilities\TaskFactoryUtilities.cs (7)
141if (!string.IsNullOrEmpty(assemblyPath) && FileSystems.Default.FileExists(assemblyPath)) 168Assembly assembly = Assembly.Load(FileSystems.Default.ReadFileAllBytes(assemblyPath)); 193if (!FileSystems.Default.FileExists(manifestPath)) 263if (FileSystems.Default.FileExists(path)) 265return Assembly.Load(FileSystems.Default.ReadFileAllBytes(path)); 271if (FileSystems.Default.FileExists(path)) 273return Assembly.Load(FileSystems.Default.ReadFileAllBytes(path));
Microsoft.Build.Tasks.Core (95)
AddToWin32Manifest.cs (1)
104if (!FileSystems.Default.FileExists(absolutePath))
AssemblyDependency\AssemblyFoldersFromConfig\AssemblyFoldersFromConfigResolver.cs (1)
130Assumed.True(FileSystems.Default.FileExists(_assemblyFolderConfigFile), $"The AssemblyFolders config file specified does not exist: {_assemblyFolderConfigFile}");
AssemblyDependency\AssemblyInformation.cs (1)
994if (!FileSystems.Default.FileExists(path))
AssemblyDependency\GenerateBindingRedirects.cs (1)
113var outputExists = FileSystems.Default.FileExists(outputAppConfigFile);
AssemblyDependency\ResolveAssemblyReference.cs (1)
3453(p, searchPattern) => FileSystems.Default.EnumerateDirectories(p, searchPattern)
BootstrapperUtil\BootstrapperBuilder.cs (13)
365if (!FileSystems.Default.FileExists(setupSourceFile)) 533if (FileSystems.Default.DirectoryExists(startDirectory)) 539if (FileSystems.Default.FileExists(resourceFilePath)) 603if (FileSystems.Default.DirectoryExists(packagePath)) 812bool fileExists = FileSystems.Default.FileExists(filePath); 813bool schemaExists = FileSystems.Default.FileExists(schemaPath); 940if (FileSystems.Default.FileExists(strLangManifestFilename)) 1455if (!FileSystems.Default.FileExists(packageFileSource.Value)) 1473if (!FileSystems.Default.FileExists(packageFileSource.Value)) 1526if (FileSystems.Default.FileExists(eulaAttribute.Value)) 1584if (!FileSystems.Default.DirectoryExists(strFolderPath)) 2098if (FileSystems.Default.FileExists(fileSource)) 2167if (FileSystems.Default.FileExists(fileSource))
Copy.cs (2)
292if (!FileSystems.Default.DirectoryExists(destinationFolder)) 1072if (DestinationFolder != null && FileSystems.Default.FileExists(TaskEnvironment.GetAbsolutePath(DestinationFolder.ItemSpec)))
CreateManifestResourceName.cs (1)
197if (FileSystems.Default.FileExists(dependentPath))
Delete.cs (1)
128if (FileSystems.Default.FileExists(filePath))
DependencyFile.cs (1)
65if (FileSystems.Default.FileExists(FileName))
Exec.cs (2)
533if (!FileSystems.Default.FileExists(systemCmd)) 560if (!FileSystems.Default.DirectoryExists(_workingDirectory))
FileIO\GetFileHash.cs (1)
93if (!FileSystems.Default.FileExists(filePath))
FileIO\ReadLinesFromFile.cs (1)
46if (FileSystems.Default.FileExists(filePath))
FileIO\VerifyFileHash.cs (1)
48if (!FileSystems.Default.FileExists(filePath))
GenerateResource.cs (7)
1484if (!FileSystems.Default.FileExists(Sources[i].ItemSpec)) 1509if (nothingOutOfDate && FileSystems.Default.FileExists(Sources[0].ItemSpec)) 2601if (assemblyFile.ItemSpec != null && FileSystems.Default.FileExists(assemblyFile.ItemSpec)) 2752if (!FileSystems.Default.DirectoryExists(currentOutputDirectory)) 2812if (FileSystems.Default.FileExists(outFileOrDir) 2834if (FileSystems.Default.FileExists(currentOutputFile)) 2922if (!FileSystems.Default.DirectoryExists(shorterPath))
GetSDKReferenceFiles.cs (4)
927string cacheFile = FileSystems.Default.EnumerateFiles(_cacheFileDirectory, GetCacheFileName(sdkIdentity, sdkRoot, "*")).FirstOrDefault(); 1088DateTime referencesCacheFileLastWriteTimeUtc = FileSystems.Default.GetLastWriteTimeUtc(referencesCacheFile); 1099DateTime currentCodeLastWriteTime = FileSystems.Default.GetLastWriteTimeUtc(codeBase.LocalPath); 1100if (FileSystems.Default.FileExists(referencesCacheFile) && currentCodeLastWriteTime < referencesCacheFileLastWriteTimeUtc)
ManifestUtil\AssemblyIdentity.cs (6)
199if (!FileSystems.Default.FileExists(path)) 273if (!FileSystems.Default.FileExists(path)) 307if (!FileSystems.Default.FileExists(path)) 333if (!FileSystems.Default.FileExists(path)) 535if (FileSystems.Default.FileExists(path) && IsEqual(this, FromFile(path), specificVersion)) 542if (FileSystems.Default.FileExists(path) && IsEqual(this, FromManifest(path), specificVersion))
ManifestUtil\DeployManifest.cs (2)
151if (FileSystems.Default.FileExists(redistListFilePath)) 590if (FileSystems.Default.FileExists(manifestPath))
ManifestUtil\LauncherBuilder.cs (2)
100if (!FileSystems.Default.FileExists(launcher.Value)) 123if (!FileSystems.Default.DirectoryExists(strFolderPath))
ManifestUtil\Manifest.cs (2)
319if (FileSystems.Default.FileExists(path)) 336if (FileSystems.Default.FileExists(resolvedPath))
ManifestUtil\SecurityUtil.cs (6)
676if (!FileSystems.Default.FileExists(path)) 878if (toolPath == null || !FileSystems.Default.FileExists(toolPath)) 883if (toolPath == null || !FileSystems.Default.FileExists(toolPath)) 891if (NativeMethodsShared.IsWindows && (toolPath == null || !FileSystems.Default.FileExists(toolPath))) 895if (toolPath == null || !FileSystems.Default.FileExists(toolPath)) 899if (!FileSystems.Default.FileExists(toolPath))
ManifestUtil\TrustInfo.cs (1)
659if (FileSystems.Default.FileExists(path))
ManifestUtil\Util.cs (1)
268if (!FileSystems.Default.DirectoryExists(logPath))
Move.cs (8)
210if (FileSystems.Default.DirectoryExists(destinationFile)) 216if (FileSystems.Default.DirectoryExists(sourceFile)) 226if (!FileSystems.Default.FileExists(sourceFile)) 233if (OverwriteReadOnlyFiles && FileSystems.Default.FileExists(destinationFile)) 240if (!string.IsNullOrEmpty(destinationFolder) && !FileSystems.Default.DirectoryExists(destinationFolder)) 275if (FileSystems.Default.FileExists(destinationFile)) 307if (!FileSystems.Default.FileExists(existingFileName)) 312var targetExists = FileSystems.Default.FileExists(newFileName);
MSBuild.cs (1)
295if (FileSystems.Default.FileExists(projectPath) || (skipNonExistProjects == SkipNonExistentProjectsBehavior.Build))
NativeMethods.cs (3)
317if (FileSystems.Default.DirectoryExists(s_gacPath)) 492if (FileSystems.Default.DirectoryExists(path)) 509if (FileSystems.Default.FileExists(path))
RedistList.cs (2)
308if (FileSystems.Default.DirectoryExists(redistDirectory)) 1111if (FileSystems.Default.FileExists(subsetFilePath))
RemoveDir.cs (1)
69if (FileSystems.Default.DirectoryExists(directoryPath))
ResGenDependencies.cs (1)
232if (FileSystems.Default.FileExists(FileName))
ResolveCodeAnalysisRuleSet.cs (4)
87if (FileSystems.Default.FileExists(fullName)) 99if (FileSystems.Default.FileExists(fullName)) 112if (FileSystems.Default.FileExists(fullName)) 118else if (FileSystems.Default.FileExists(CodeAnalysisRuleSet))
ResourceHandling\MSBuildResXReader.cs (2)
270byte[] byteArray = FileSystems.Default.ReadFileAllBytes(fileName); 279byte[] byteArray = FileSystems.Default.ReadFileAllBytes(fileName);
RoslynCodeTaskFactory\RoslynCodeTaskFactory.cs (5)
487taskInfo.SourceCode = FileSystems.Default.ReadFileAllText(resolvedPath); 594if (FileSystems.Default.FileExists(reference)) 612.FirstOrDefault(p => FileSystems.Default.FileExists(Path.Combine(p, assemblyFileName))); 839if (deleteSourceCodeFile && sourceCodePath is not null && FileSystems.Default.FileExists(sourceCodePath)) 845if (!_compileForOutOfProcess && !string.IsNullOrEmpty(_assemblyPath) && FileSystems.Default.FileExists(_assemblyPath))
RoslynCodeTaskFactory\RoslynCodeTaskFactoryCompilers.cs (1)
47return possibleLocations.Select(possibleLocation => possibleLocation()).FirstOrDefault(FileSystems.Default.FileExists);
src\msbuild\src\Shared\Debugging\DebugUtils.cs (4)
80while (FileSystems.Default.FileExists(fullPath)) 172IEnumerable<string> files = FileSystems.Default.EnumerateFiles(DebugDumpPath, "MSBuild*failure.txt"); 176if (FileSystems.Default.GetLastWriteTimeUtc(file) >= fromTimeUtc) 182builder.Append(FileSystems.Default.ReadFileAllText(file));
StateFileBase.cs (3)
63if (FileSystems.Default.FileExists(stateFile)) 118if (!string.IsNullOrEmpty(stateFile) && FileSystems.Default.FileExists(stateFile)) 176if (FileSystems.Default.FileExists(stateFile))
Unzip.cs (1)
125if (!FileSystems.Default.FileExists(sourceFilePath))
Microsoft.Build.Utilities.Core (28)
PlatformManifest.cs (1)
97if (FileSystems.Default.FileExists(platformManifestPath))
SDKManifest.cs (1)
315if (FileSystems.Default.FileExists(sdkManifestPath))
src\msbuild\src\Shared\Debugging\DebugUtils.cs (4)
80while (FileSystems.Default.FileExists(fullPath)) 172IEnumerable<string> files = FileSystems.Default.EnumerateFiles(DebugDumpPath, "MSBuild*failure.txt"); 176if (FileSystems.Default.GetLastWriteTimeUtc(file) >= fromTimeUtc) 182builder.Append(FileSystems.Default.ReadFileAllText(file));
ToolLocationHelper.cs (16)
852if (FileSystems.Default.DirectoryExists(propsFileLocation)) 1041if (!FileSystems.Default.DirectoryExists(winmdLocation)) 1139if (FileSystems.Default.DirectoryExists(contractPath)) 1503if (!FileSystems.Default.FileExists(fullPath)) 1766if (FileSystems.Default.FileExists(Path.Combine(referenceAssemblyDirectory, "mscorlib.dll"))) 1840if (legacyMsCorlib20Path != null && FileSystems.Default.FileExists(Path.Combine(legacyMsCorlib20Path, "mscorlib.dll"))) 1857if (FileSystems.Default.FileExists(Path.Combine(referenceAssemblyDirectory, "mscorlib.dll"))) 2336if (FileSystems.Default.DirectoryExists(path)) 2632bool platformSDKManifestExists = FileSystems.Default.FileExists(platformSDKManifest); 2904if (FileSystems.Default.DirectoryExists(localAppdataFolder)) 3119if (!FileSystems.Default.FileExists(redistFilePath)) 3204if (!FileSystems.Default.DirectoryExists(pathToReturn)) 3210else if (!string.IsNullOrEmpty(redirectPath) && FileSystems.Default.DirectoryExists(redirectPath)) 3794if (FileSystems.Default.DirectoryExists(dotNetFx20Path)) 3946if (FileSystems.Default.DirectoryExists(dotNextFx30RefPath)) 3953if (FileSystems.Default.DirectoryExists(dotNextFx35RefPath))
ToolTask.cs (5)
534if (string.IsNullOrWhiteSpace(pathToTool) || (ToolPath == null && !FileSystems.Default.FileExists(TaskEnvironment.GetAbsolutePath(pathToTool)))) 555bool isExistingFile = FileSystems.Default.FileExists(TaskEnvironment.GetAbsolutePath(pathToTool)); 1432return FileSystems.Default.DirectoryExists(TaskEnvironment.GetAbsolutePath(path)); 1440.FirstOrDefault(fullPath => !string.IsNullOrEmpty(fullPath) && FileSystems.Default.FileExists(TaskEnvironment.GetAbsolutePath(fullPath))); 1722if (_temporaryBatchFile != null && FileSystems.Default.FileExists(_temporaryBatchFile))
TrackedDependencies\TrackedDependencies.cs (1)
45if (!FileMatcher.HasWildcards(directoryName) && FileSystems.Default.DirectoryExists(directoryName))
MSBuild (13)
CommandLine\CommandLineParser.cs (4)
337else if (!FileSystems.Default.FileExists(responseFile)) 555if (FileSystems.Default.DirectoryExists(projectFile)) 562InitializationException.VerifyThrow(FileSystems.Default.FileExists(projectFile), "ProjectNotFoundError", projectFile); 663if (FileSystems.Default.FileExists(autoResponseFile))
src\msbuild\src\Shared\Debugging\DebugUtils.cs (4)
80while (FileSystems.Default.FileExists(fullPath)) 172IEnumerable<string> files = FileSystems.Default.EnumerateFiles(DebugDumpPath, "MSBuild*failure.txt"); 176if (FileSystems.Default.GetLastWriteTimeUtc(file) >= fromTimeUtc) 182builder.Append(FileSystems.Default.ReadFileAllText(file));
src\msbuild\src\Shared\TaskEngineAssemblyResolver.cs (1)
106if (FileSystems.Default.FileExists(_taskAssemblyFile))
XMake.cs (4)
506if (!FileSystems.Default.FileExists(path)) 3271if (FileSystems.Default.DirectoryExists(projectFile)) 3280InitializationException.VerifyThrow(FileSystems.Default.FileExists(projectFile), "ProjectNotFoundError", projectFile); 4118if (FileSystems.Default.FileExists(testFile))