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