1 write to RestoreContexts
NuGet.Packaging (1)
RuntimeModel\CompatibilityProfile.cs (1)
24
RestoreContexts
= restoreContexts.ToList();
13 references to RestoreContexts
NuGet.Commands (6)
RestoreCommand\DependencyGraphResolver.cs (2)
266
if (profile.Value.
RestoreContexts
.Any())
279
foreach (FrameworkRuntimePair? frameworkRuntimePair in compatProfile.
RestoreContexts
)
RestoreCommand\RestoreCommand.cs (4)
1920
if (profile.Value.
RestoreContexts
.Any())
1934
foreach (var pair in compatProfile.
RestoreContexts
)
2084
if (profile.Value.
RestoreContexts
.Any())
2098
foreach (var pair in compatProfile.
RestoreContexts
)
NuGet.Packaging (7)
RuntimeModel\CompatibilityProfile.cs (5)
29
return $"{Name}: {string.Join(",",
RestoreContexts
)}";
37
hashCode.AddSequence(
RestoreContexts
);
51
RestoreContexts
.OrderedEquals(other.
RestoreContexts
, r => r);
56
return new CompatibilityProfile(Name,
RestoreContexts
.ToList());
RuntimeModel\JsonRuntimeFormat.cs (1)
147
var frameworkGroups = data.
RestoreContexts
.GroupBy(context => context.Framework);
RuntimeModel\RuntimeGraph.cs (1)
158
if (compatProfile.Value.
RestoreContexts
.Count > 0)