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)
88
public static FileMatcher Default = new FileMatcher(FileSystems.
Default
, null);
FileUtilities.cs (1)
135
private static readonly IFileSystem DefaultFileSystem = FileSystems.
Default
;
FrameworkLocationHelper.cs (4)
958
if (FileSystems.
Default
.DirectoryExists(combinedPath))
1128
if (FileSystems.
Default
.DirectoryExists(programFilesReferenceAssemblyDirectory))
1471
if (!string.IsNullOrEmpty(frameworkPath) && FileSystems.
Default
.DirectoryExists(frameworkPath))
1573
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)
851
if (FileSystems.
Default
.DirectoryExists(propsFileLocation))
1040
if (!FileSystems.
Default
.DirectoryExists(winmdLocation))
1138
if (FileSystems.
Default
.DirectoryExists(contractPath))
1502
if (!FileSystems.
Default
.FileExists(fullPath))
1765
if (FileSystems.
Default
.FileExists(Path.Combine(referenceAssemblyDirectory, "mscorlib.dll")))
1839
if (legacyMsCorlib20Path != null && FileSystems.
Default
.FileExists(Path.Combine(legacyMsCorlib20Path, "mscorlib.dll")))
1856
if (FileSystems.
Default
.FileExists(Path.Combine(referenceAssemblyDirectory, "mscorlib.dll")))
2335
if (FileSystems.
Default
.DirectoryExists(path))
2631
bool platformSDKManifestExists = FileSystems.
Default
.FileExists(platformSDKManifest);
2903
if (FileSystems.
Default
.DirectoryExists(localAppdataFolder))
3118
if (!FileSystems.
Default
.FileExists(redistFilePath))
3203
if (!FileSystems.
Default
.DirectoryExists(pathToReturn))
3209
else if (!string.IsNullOrEmpty(redirectPath) && FileSystems.
Default
.DirectoryExists(redirectPath))
3814
if (FileSystems.
Default
.DirectoryExists(dotNetFx20Path))
3966
if (FileSystems.
Default
.DirectoryExists(dotNextFx30RefPath))
3973
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))