1 write to Path
NuGet.Commands (1)
RestoreCommand\DependencyGraphResolver.cs (1)
1391
Path
= isCentrallyPinnedTransitiveDependency || isRootPackageReference ? _rootedDependencyPath : DependencyGraphItemIndexer.CreatePathToRef(currentDependencyGraphItem.Path, currentDependencyGraphItem.LibraryRangeIndex),
13 references to Path
NuGet.Commands (13)
RestoreCommand\DependencyGraphResolver.cs (12)
1051
if (currentDependencyGraphItem.
Path
.Length > 2 && currentDependencyGraphItem.
Path
[currentDependencyGraphItem.
Path
.Length - 2] == parentRangeIndex)
1065
if (HasCommonAncestor(chosenResolvedItem.Path, currentDependencyGraphItem.
Path
))
1078
if (currentDependencyGraphItem.
Path
.Contains(parentRangeIndex))
1144
evictions[evictedLibraryRangeIndex] = (DependencyGraphItemIndexer.CreatePathToRef(currentDependencyGraphItem.
Path
, currentDependencyGraphItem.LibraryRangeIndex), currentDependencyGraphItem.LibraryDependencyIndex, chosenResolvedItem.LibraryDependency.LibraryRange.TypeConstraint);
1168
if (!item.
Path
.Contains(evictedLibraryRangeIndex))
1178
bool hasCommonAncestor = HasCommonAncestor(chosenResolvedItem.Path, currentDependencyGraphItem.
Path
);
1185
chosenResolvedItem.ParentPathsThatHaveBeenEclipsed.Add(currentDependencyGraphItem.
Path
[currentDependencyGraphItem.
Path
.Length - 1]);
1199
if (chosenResolvedItem.Suppressions.Count == 1 && chosenResolvedItem.Suppressions[0].Count == 0 && HasCommonAncestor(chosenResolvedItem.Path, currentDependencyGraphItem.
Path
))
1391
Path = isCentrallyPinnedTransitiveDependency || isRootPackageReference ? _rootedDependencyPath : DependencyGraphItemIndexer.CreatePathToRef(currentDependencyGraphItem.
Path
, currentDependencyGraphItem.LibraryRangeIndex),
RestoreCommand\DependencyGraphResolver.ResolvedDependencyGraphItem.cs (1)
47
Path = dependencyGraphItem.
Path
;