14 references to Default
MSBuildTaskHost (14)
BuildEnvironmentHelper.cs (6)
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)) 611var existsCheck = mode == BuildEnvironmentMode.VisualStudio ? new Func<string, bool>(_ => true) : FileSystems.Default.FileExists;
ExceptionHandling.cs (3)
412IEnumerable<string> files = FileSystems.Default.EnumerateFiles(DebugDumpPath, "MSBuild*failure.txt"); 416if (FileSystems.Default.GetLastWriteTimeUtc(file) >= fromTimeUtc) 422builder.Append(FileSystems.Default.ReadFileAllText(file));
FileUtilities.cs (2)
81return !FileSystems.Default.FileExists(lowerCased); 135private static readonly IFileSystem DefaultFileSystem = FileSystems.Default;
Modifiers.cs (2)
329if (FileSystems.Default.FileExists(unescapedItemSpec)) 345if (FileSystems.Default.FileExists(unescapedItemSpec))
TaskEngineAssemblyResolver.cs (1)
106if (FileSystems.Default.FileExists(_taskAssemblyFile))