1 write to Path
NuGet.Commands (1)
RestoreCommand\DependencyGraphResolver.cs (1)
1381Path = isCentrallyPinnedTransitiveDependency || isRootPackageReference ? _rootedDependencyPath : DependencyGraphItemIndexer.CreatePathToRef(currentDependencyGraphItem.Path, currentDependencyGraphItem.LibraryRangeIndex),
13 references to Path
NuGet.Commands (13)
RestoreCommand\DependencyGraphResolver.cs (12)
1041if (currentDependencyGraphItem.Path.Length > 2 && currentDependencyGraphItem.Path[currentDependencyGraphItem.Path.Length - 2] == parentRangeIndex) 1055if (HasCommonAncestor(chosenResolvedItem.Path, currentDependencyGraphItem.Path)) 1068if (currentDependencyGraphItem.Path.Contains(parentRangeIndex)) 1134evictions[evictedLibraryRangeIndex] = (DependencyGraphItemIndexer.CreatePathToRef(currentDependencyGraphItem.Path, currentDependencyGraphItem.LibraryRangeIndex), currentDependencyGraphItem.LibraryDependencyIndex, chosenResolvedItem.LibraryDependency.LibraryRange.TypeConstraint); 1158if (!item.Path.Contains(evictedLibraryRangeIndex)) 1168bool hasCommonAncestor = HasCommonAncestor(chosenResolvedItem.Path, currentDependencyGraphItem.Path); 1175chosenResolvedItem.ParentPathsThatHaveBeenEclipsed.Add(currentDependencyGraphItem.Path[currentDependencyGraphItem.Path.Length - 1]); 1189if (chosenResolvedItem.Suppressions.Count == 1 && chosenResolvedItem.Suppressions[0].Count == 0 && HasCommonAncestor(chosenResolvedItem.Path, currentDependencyGraphItem.Path)) 1381Path = isCentrallyPinnedTransitiveDependency || isRootPackageReference ? _rootedDependencyPath : DependencyGraphItemIndexer.CreatePathToRef(currentDependencyGraphItem.Path, currentDependencyGraphItem.LibraryRangeIndex),
RestoreCommand\DependencyGraphResolver.ResolvedDependencyGraphItem.cs (1)
47Path = dependencyGraphItem.Path;