25 references to Default
Microsoft.Build.CommandLine.UnitTests (1)
TestAssemblyInfo.cs (1)
111
if (FileSystems.
Default
.FileExists(potentialVersionsPropsPath))
MSBuild (24)
BuildEnvironmentHelper.cs (5)
214
if (FileSystems.
Default
.FileExists(msBuildExe))
218
else if (FileSystems.
Default
.FileExists(msBuildDll))
274
vsVersion != CurrentVisualStudioVersion || !FileSystems.
Default
.DirectoryExists(vsInstallDir))
299
.Where(i => i.Version.Major == v.Major && FileSystems.
Default
.DirectoryExists(i.Path))
342
if (!string.IsNullOrEmpty(msBuildExePath) && FileSystems.
Default
.FileExists(msBuildExePath))
CoreCLRAssemblyLoader.cs (1)
164
!FileSystems.
Default
.FileExists(candidatePath))
ExceptionHandling.cs (1)
391
IEnumerable<string> files = FileSystems.
Default
.EnumerateFiles(DebugDumpPath, "MSBuild*failure.txt");
FileUtilities.cs (1)
122
private static readonly IFileSystem DefaultFileSystem = FileSystems.
Default
;
Modifiers.cs (2)
528
if (FileSystems.
Default
.FileExists(unescapedItemSpec))
544
if (FileSystems.
Default
.FileExists(unescapedItemSpec))
MSBuildLoadContext.cs (2)
81
if (!FileSystems.
Default
.FileExists(candidatePath))
102
if (FileSystems.
Default
.FileExists(assemblyNameInExecutableDirectory))
TaskEngineAssemblyResolver.cs (1)
106
if (FileSystems.
Default
.FileExists(_taskAssemblyFile))
TempFileUtilities.cs (2)
188
ErrorUtilities.VerifyThrow(!FileSystems.
Default
.FileExists(file), "Guid should be unique");
234
if (FileSystems.
Default
.DirectoryExists(Path))
XMake.cs (9)
411
if (!FileSystems.
Default
.FileExists(path))
2220
else if (!FileSystems.
Default
.FileExists(responseFile))
2453
if (FileSystems.
Default
.FileExists(autoResponseFile))
3045
if (FileSystems.
Default
.DirectoryExists(projectFile))
3052
InitializationException.VerifyThrow(FileSystems.
Default
.FileExists(projectFile), "ProjectNotFoundError", projectFile);
3535
if (FileSystems.
Default
.DirectoryExists(projectFile))
3544
InitializationException.VerifyThrow(FileSystems.
Default
.FileExists(projectFile), "ProjectNotFoundError", projectFile);
4389
if (FileSystems.
Default
.FileExists(testFile))
4547
InitializationException.VerifyThrow(FileSystems.
Default
.FileExists(fileName), "SchemaNotFoundError", fileName);