46 references to Default
Microsoft.Build.Utilities.Core (45)
BuildEnvironmentHelper.cs (5)
213if (FileSystems.Default.FileExists(msBuildExe)) 217else if (FileSystems.Default.FileExists(msBuildDll)) 273vsVersion != CurrentVisualStudioVersion || !FileSystems.Default.DirectoryExists(vsInstallDir)) 298.Where(i => i.Version.Major == v.Major && FileSystems.Default.DirectoryExists(i.Path)) 341if (!string.IsNullOrEmpty(msBuildExePath) && FileSystems.Default.FileExists(msBuildExePath))
ExceptionHandling.cs (1)
390IEnumerable<string> files = FileSystems.Default.EnumerateFiles(DebugDumpPath, "MSBuild*failure.txt");
FileMatcher.cs (1)
84public static FileMatcher Default = new FileMatcher(FileSystems.Default, null);
FileUtilities.cs (1)
135private static readonly IFileSystem DefaultFileSystem = FileSystems.Default;
FrameworkLocationHelper.cs (4)
925if (FileSystems.Default.DirectoryExists(combinedPath)) 1095if (FileSystems.Default.DirectoryExists(programFilesReferenceAssemblyDirectory)) 1435if (!string.IsNullOrEmpty(frameworkPath) && FileSystems.Default.DirectoryExists(frameworkPath)) 1537if (FileSystems.Default.DirectoryExists(referencePath))
InprocTrackingNativeMethods.cs (1)
210if (!FileSystems.Default.FileExists(fileTrackerPath))
Modifiers.cs (2)
528if (FileSystems.Default.FileExists(unescapedItemSpec)) 544if (FileSystems.Default.FileExists(unescapedItemSpec))
PlatformManifest.cs (1)
96if (FileSystems.Default.FileExists(platformManifestPath))
SDKManifest.cs (1)
315if (FileSystems.Default.FileExists(sdkManifestPath))
TempFileUtilities.cs (2)
188ErrorUtilities.VerifyThrow(!FileSystems.Default.FileExists(file), "Guid should be unique"); 234if (FileSystems.Default.DirectoryExists(Path))
ToolLocationHelper.cs (16)
846if (FileSystems.Default.DirectoryExists(propsFileLocation)) 1035if (!FileSystems.Default.DirectoryExists(winmdLocation)) 1133if (FileSystems.Default.DirectoryExists(contractPath)) 1497if (!FileSystems.Default.FileExists(fullPath)) 1760if (FileSystems.Default.FileExists(Path.Combine(referenceAssemblyDirectory, "mscorlib.dll"))) 1834if (legacyMsCorlib20Path != null && FileSystems.Default.FileExists(Path.Combine(legacyMsCorlib20Path, "mscorlib.dll"))) 1851if (FileSystems.Default.FileExists(Path.Combine(referenceAssemblyDirectory, "mscorlib.dll"))) 2329if (FileSystems.Default.DirectoryExists(path)) 2625bool platformSDKManifestExists = FileSystems.Default.FileExists(platformSDKManifest); 2897if (FileSystems.Default.DirectoryExists(localAppdataFolder)) 3112if (!FileSystems.Default.FileExists(redistFilePath)) 3197if (!FileSystems.Default.DirectoryExists(pathToReturn)) 3203else if (!string.IsNullOrEmpty(redirectPath) && FileSystems.Default.DirectoryExists(redirectPath)) 3808if (FileSystems.Default.DirectoryExists(dotNetFx20Path)) 3960if (FileSystems.Default.DirectoryExists(dotNextFx30RefPath)) 3967if (FileSystems.Default.DirectoryExists(dotNextFx35RefPath))
ToolTask.cs (5)
518if (string.IsNullOrWhiteSpace(pathToTool) || (ToolPath == null && !FileSystems.Default.FileExists(pathToTool))) 539bool isExistingFile = FileSystems.Default.FileExists(pathToTool); 1326return FileSystems.Default.DirectoryExists(path); 1334.FirstOrDefault(fullPath => !string.IsNullOrEmpty(fullPath) && FileSystems.Default.FileExists(fullPath)); 1616if (_temporaryBatchFile != null && FileSystems.Default.FileExists(_temporaryBatchFile))
TrackedDependencies\FileTracker.cs (3)
434if (FileSystems.Default.FileExists(trackerPath)) 534if (!FileSystems.Default.FileExists(trackerPath)) 581if (FileSystems.Default.FileExists(progfilesPath))
TrackedDependencies\FlatTrackingData.cs (1)
646if (!FileSystems.Default.DirectoryExists(markerDirectory))
TrackedDependencies\TrackedDependencies.cs (1)
45if (!FileMatcher.HasWildcards(directoryName) && FileSystems.Default.DirectoryExists(directoryName))
Microsoft.Build.Utilities.UnitTests (1)
TestAssemblyInfo.cs (1)
111if (FileSystems.Default.FileExists(potentialVersionsPropsPath))