41 references to Default
Microsoft.Build.Utilities.Core (40)
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))
ExceptionHandling.cs (1)
391
IEnumerable<string> files = FileSystems.
Default
.EnumerateFiles(DebugDumpPath, "MSBuild*failure.txt");
FileMatcher.cs (1)
85
public static FileMatcher Default = new FileMatcher(FileSystems.
Default
, null);
FileUtilities.cs (1)
122
private static readonly IFileSystem DefaultFileSystem = FileSystems.
Default
;
FrameworkLocationHelper.cs (4)
922
if (FileSystems.
Default
.DirectoryExists(combinedPath))
1092
if (FileSystems.
Default
.DirectoryExists(programFilesReferenceAssemblyDirectory))
1432
if (!string.IsNullOrEmpty(frameworkPath) && FileSystems.
Default
.DirectoryExists(frameworkPath))
1534
if (FileSystems.
Default
.DirectoryExists(referencePath))
Modifiers.cs (2)
528
if (FileSystems.
Default
.FileExists(unescapedItemSpec))
544
if (FileSystems.
Default
.FileExists(unescapedItemSpec))
PlatformManifest.cs (1)
96
if (FileSystems.
Default
.FileExists(platformManifestPath))
SDKManifest.cs (1)
315
if (FileSystems.
Default
.FileExists(sdkManifestPath))
TempFileUtilities.cs (2)
188
ErrorUtilities.VerifyThrow(!FileSystems.
Default
.FileExists(file), "Guid should be unique");
234
if (FileSystems.
Default
.DirectoryExists(Path))
ToolLocationHelper.cs (16)
847
if (FileSystems.
Default
.DirectoryExists(propsFileLocation))
1036
if (!FileSystems.
Default
.DirectoryExists(winmdLocation))
1134
if (FileSystems.
Default
.DirectoryExists(contractPath))
1498
if (!FileSystems.
Default
.FileExists(fullPath))
1761
if (FileSystems.
Default
.FileExists(Path.Combine(referenceAssemblyDirectory, "mscorlib.dll")))
1835
if (legacyMsCorlib20Path != null && FileSystems.
Default
.FileExists(Path.Combine(legacyMsCorlib20Path, "mscorlib.dll")))
1852
if (FileSystems.
Default
.FileExists(Path.Combine(referenceAssemblyDirectory, "mscorlib.dll")))
2330
if (FileSystems.
Default
.DirectoryExists(path))
2626
bool platformSDKManifestExists = FileSystems.
Default
.FileExists(platformSDKManifest);
2898
if (FileSystems.
Default
.DirectoryExists(localAppdataFolder))
3113
if (!FileSystems.
Default
.FileExists(redistFilePath))
3198
if (!FileSystems.
Default
.DirectoryExists(pathToReturn))
3204
else if (!string.IsNullOrEmpty(redirectPath) && FileSystems.
Default
.DirectoryExists(redirectPath))
3805
if (FileSystems.
Default
.DirectoryExists(dotNetFx20Path))
3952
if (FileSystems.
Default
.DirectoryExists(dotNextFx30RefPath))
3959
if (FileSystems.
Default
.DirectoryExists(dotNextFx35RefPath))
ToolTask.cs (5)
518
if (string.IsNullOrWhiteSpace(pathToTool) || (ToolPath == null && !FileSystems.
Default
.FileExists(pathToTool)))
539
bool isExistingFile = FileSystems.
Default
.FileExists(pathToTool);
1326
return FileSystems.
Default
.DirectoryExists(path);
1334
.FirstOrDefault(fullPath => !string.IsNullOrEmpty(fullPath) && FileSystems.
Default
.FileExists(fullPath));
1616
if (_temporaryBatchFile != null && FileSystems.
Default
.FileExists(_temporaryBatchFile))
TrackedDependencies\TrackedDependencies.cs (1)
45
if (!FileMatcher.HasWildcards(directoryName) && FileSystems.
Default
.DirectoryExists(directoryName))
Microsoft.Build.Utilities.UnitTests (1)
TestAssemblyInfo.cs (1)
111
if (FileSystems.
Default
.FileExists(potentialVersionsPropsPath))