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