23 references to Default
Microsoft.Build.CommandLine.UnitTests (1)
TestAssemblyInfo.cs (1)
111
if (FileSystems.
Default
.FileExists(potentialVersionsPropsPath))
MSBuild (22)
BuildEnvironmentHelper.cs (5)
213
if (FileSystems.
Default
.FileExists(msBuildExe))
217
else if (FileSystems.
Default
.FileExists(msBuildDll))
273
vsVersion != CurrentVisualStudioVersion || !FileSystems.
Default
.DirectoryExists(vsInstallDir))
298
.Where(i => i.Version.Major == v.Major && FileSystems.
Default
.DirectoryExists(i.Path))
341
if (!string.IsNullOrEmpty(msBuildExePath) && FileSystems.
Default
.FileExists(msBuildExePath))
ExceptionHandling.cs (1)
390
IEnumerable<string> files = FileSystems.
Default
.EnumerateFiles(DebugDumpPath, "MSBuild*failure.txt");
FileUtilities.cs (1)
135
private static readonly IFileSystem DefaultFileSystem = FileSystems.
Default
;
Modifiers.cs (2)
329
if (FileSystems.
Default
.FileExists(unescapedItemSpec))
345
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 (2)
188
ErrorUtilities.VerifyThrow(!FileSystems.
Default
.FileExists(file), "Guid should be unique");
234
if (FileSystems.
Default
.DirectoryExists(Path))
XMake.cs (9)
412
if (!FileSystems.
Default
.FileExists(path))
2236
else if (!FileSystems.
Default
.FileExists(responseFile))
2469
if (FileSystems.
Default
.FileExists(autoResponseFile))
3081
if (FileSystems.
Default
.DirectoryExists(projectFile))
3088
InitializationException.VerifyThrow(FileSystems.
Default
.FileExists(projectFile), "ProjectNotFoundError", projectFile);
3586
if (FileSystems.
Default
.DirectoryExists(projectFile))
3595
InitializationException.VerifyThrow(FileSystems.
Default
.FileExists(projectFile), "ProjectNotFoundError", projectFile);
4452
if (FileSystems.
Default
.FileExists(testFile))
4610
InitializationException.VerifyThrow(FileSystems.
Default
.FileExists(fileName), "SchemaNotFoundError", fileName);