46 references to Default
Microsoft.Build.Utilities.Core (45)
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");
FileMatcher.cs (1)
84
public static FileMatcher Default = new FileMatcher(FileSystems.
Default
, null);
FileUtilities.cs (1)
135
private static readonly IFileSystem DefaultFileSystem = FileSystems.
Default
;
FrameworkLocationHelper.cs (4)
925
if (FileSystems.
Default
.DirectoryExists(combinedPath))
1095
if (FileSystems.
Default
.DirectoryExists(programFilesReferenceAssemblyDirectory))
1435
if (!string.IsNullOrEmpty(frameworkPath) && FileSystems.
Default
.DirectoryExists(frameworkPath))
1537
if (FileSystems.
Default
.DirectoryExists(referencePath))
InprocTrackingNativeMethods.cs (1)
210
if (!FileSystems.
Default
.FileExists(fileTrackerPath))
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)
846
if (FileSystems.
Default
.DirectoryExists(propsFileLocation))
1035
if (!FileSystems.
Default
.DirectoryExists(winmdLocation))
1133
if (FileSystems.
Default
.DirectoryExists(contractPath))
1497
if (!FileSystems.
Default
.FileExists(fullPath))
1760
if (FileSystems.
Default
.FileExists(Path.Combine(referenceAssemblyDirectory, "mscorlib.dll")))
1834
if (legacyMsCorlib20Path != null && FileSystems.
Default
.FileExists(Path.Combine(legacyMsCorlib20Path, "mscorlib.dll")))
1851
if (FileSystems.
Default
.FileExists(Path.Combine(referenceAssemblyDirectory, "mscorlib.dll")))
2329
if (FileSystems.
Default
.DirectoryExists(path))
2625
bool platformSDKManifestExists = FileSystems.
Default
.FileExists(platformSDKManifest);
2897
if (FileSystems.
Default
.DirectoryExists(localAppdataFolder))
3112
if (!FileSystems.
Default
.FileExists(redistFilePath))
3197
if (!FileSystems.
Default
.DirectoryExists(pathToReturn))
3203
else if (!string.IsNullOrEmpty(redirectPath) && FileSystems.
Default
.DirectoryExists(redirectPath))
3808
if (FileSystems.
Default
.DirectoryExists(dotNetFx20Path))
3960
if (FileSystems.
Default
.DirectoryExists(dotNextFx30RefPath))
3967
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\FileTracker.cs (3)
434
if (FileSystems.
Default
.FileExists(trackerPath))
534
if (!FileSystems.
Default
.FileExists(trackerPath))
581
if (FileSystems.
Default
.FileExists(progfilesPath))
TrackedDependencies\FlatTrackingData.cs (1)
646
if (!FileSystems.
Default
.DirectoryExists(markerDirectory))
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))