14 references to Restore
NuGet.Build.Tasks (1)
BuildTasksUtility.cs (1)
218if (dependencyGraphSpec.Restore.Count > 0)
NuGet.Build.Tasks.Console (1)
MSBuildStaticGraphRestore.cs (1)
118if (dgSpec.Restore.Count > 0)
NuGet.CommandLine.XPlat (5)
Commands\Package\Update\PackageUpdateCommandRunner.cs (5)
61if (dgSpec is null || dgSpec.Restore is null || dgSpec.Restore.Count == 0) 261foreach (var projectPath in dgSpec.Restore) 366await Parallel.ForEachAsync(dgSpec.Restore, parallelOptions, async (projectPath, ct) => 694foreach (var restorePath in currentDgSpec.Restore)
NuGet.Commands (3)
RestoreCommand\RequestFactory\DependencyGraphSpecRequestProvider.cs (1)
96Parallel.ForEach(dgFile.Restore.ToArray(), parallelOptions, projectNameToRestore =>
RestoreCommand\Utility\NoOpRestoreUtilities.cs (1)
204var dgSpec = request.DependencyGraphSpec.WithProjectClosure(request.DependencyGraphSpec.Restore.First());
RestoreCommand\Utility\SpecValidationUtility.cs (1)
53var restoreSet = new HashSet<string>(spec.Restore, StringComparer.Ordinal);
NuGet.PackageManagement (3)
BuildIntegration\DependencyGraphRestoreUtility.cs (2)
79if (dgSpec.Restore.Count > 0) 216if (solutionDgSpec.Restore.Count < 1)
NuGetPackageManager.cs (1)
3466if (dgSpecForParents.Restore.Count > 0)
NuGet.ProjectModel (1)
ProjectLockFile\PackagesLockFileUtilities.cs (1)
102var uniqueName = dgSpec.Restore.First();