2 writes to LibraryDependencyIndex
NuGet.Commands (2)
RestoreCommand\DependencyGraphResolver.cs (2)
190LibraryDependencyIndex = LibraryDependencyIndex.Project, 1389LibraryDependencyIndex = childLibraryDependencyIndex,
14 references to LibraryDependencyIndex
NuGet.Commands (14)
RestoreCommand\DependencyGraphResolver.cs (12)
986bool isRootProject = currentDependencyGraphItem.LibraryDependencyIndex == LibraryDependencyIndex.Project; 1005if (!resolvedDependencyGraphItems.TryGetValue(currentDependencyGraphItem.LibraryDependencyIndex, out ResolvedDependencyGraphItem? chosenResolvedItem)) 1015resolvedDependencyGraphItems.Add(currentDependencyGraphItem.LibraryDependencyIndex, chosenResolvedItem); 1093resolvedDependencyGraphItems.Remove(currentDependencyGraphItem.LibraryDependencyIndex); 1112if (!(evicteeDepIndex == currentDependencyGraphItem.LibraryDependencyIndex && 1144evictions[evictedLibraryRangeIndex] = (DependencyGraphItemIndexer.CreatePathToRef(currentDependencyGraphItem.Path, currentDependencyGraphItem.LibraryRangeIndex), currentDependencyGraphItem.LibraryDependencyIndex, chosenResolvedItem.LibraryDependency.LibraryRange.TypeConstraint); 1159resolvedDependencyGraphItems.Add(currentDependencyGraphItem.LibraryDependencyIndex, chosenResolvedItem); 1207resolvedDependencyGraphItems.Remove(currentDependencyGraphItem.LibraryDependencyIndex); 1216resolvedDependencyGraphItems.Add(currentDependencyGraphItem.LibraryDependencyIndex, chosenResolvedItem); 1237resolvedDependencyGraphItems.Remove(currentDependencyGraphItem.LibraryDependencyIndex); 1250resolvedDependencyGraphItems.Add(currentDependencyGraphItem.LibraryDependencyIndex, chosenResolvedItem); 1329bool 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.