2 writes to LibraryDependencyIndex
NuGet.Commands (2)
RestoreCommand\DependencyGraphResolver.cs (2)
190LibraryDependencyIndex = LibraryDependencyIndex.Project, 1379LibraryDependencyIndex = childLibraryDependencyIndex,
14 references to LibraryDependencyIndex
NuGet.Commands (14)
RestoreCommand\DependencyGraphResolver.cs (12)
976bool isRootProject = currentDependencyGraphItem.LibraryDependencyIndex == LibraryDependencyIndex.Project; 995if (!resolvedDependencyGraphItems.TryGetValue(currentDependencyGraphItem.LibraryDependencyIndex, out ResolvedDependencyGraphItem? chosenResolvedItem)) 1005resolvedDependencyGraphItems.Add(currentDependencyGraphItem.LibraryDependencyIndex, chosenResolvedItem); 1083resolvedDependencyGraphItems.Remove(currentDependencyGraphItem.LibraryDependencyIndex); 1102if (!(evicteeDepIndex == currentDependencyGraphItem.LibraryDependencyIndex && 1134evictions[evictedLibraryRangeIndex] = (DependencyGraphItemIndexer.CreatePathToRef(currentDependencyGraphItem.Path, currentDependencyGraphItem.LibraryRangeIndex), currentDependencyGraphItem.LibraryDependencyIndex, chosenResolvedItem.LibraryDependency.LibraryRange.TypeConstraint); 1149resolvedDependencyGraphItems.Add(currentDependencyGraphItem.LibraryDependencyIndex, chosenResolvedItem); 1197resolvedDependencyGraphItems.Remove(currentDependencyGraphItem.LibraryDependencyIndex); 1206resolvedDependencyGraphItems.Add(currentDependencyGraphItem.LibraryDependencyIndex, chosenResolvedItem); 1227resolvedDependencyGraphItems.Remove(currentDependencyGraphItem.LibraryDependencyIndex); 1240resolvedDependencyGraphItems.Add(currentDependencyGraphItem.LibraryDependencyIndex, chosenResolvedItem); 1319bool isRootPackageReference = (currentDependencyGraphItem.LibraryDependencyIndex == LibraryDependencyIndex.Project) && isPackage;
RestoreCommand\DependencyGraphResolver.DependencyGraphItem.cs (2)
45/// Gets or initializes the <see cref="LibraryDependencyIndex" /> associated with this dependency graph item. 70/// Gets or initializes a <see cref="HashSet{T}" /> containing <see cref="LibraryDependencyIndex" /> values representing any libraries that should be suppressed under this dependency graph item.