1 write to Supports
NuGet.Packaging (1)
RuntimeModel\RuntimeGraph.cs (1)
67Supports = supports;
20 references to Supports
NuGet.Commands (8)
RestoreCommand\DependencyGraphResolver.cs (2)
263foreach (KeyValuePair<string, CompatibilityProfile> profile in _request.Project.RuntimeGraph.Supports) 271else if (!allRuntimes.Supports.TryGetValue(profile.Value.Name, out compatProfile))
RestoreCommand\RestoreCommand.cs (6)
181_enableNewDependencyResolver = _request.Project.RuntimeGraph.Supports.Count == 0 && ShouldUseNewResolverWithLockFile(_isLockFileEnabled, _request.Project) && !_request.Project.RestoreMetadata.UseLegacyDependencyResolver; 1852var hasSupports = _request.Project.RuntimeGraph.Supports.Count > 0; 1915foreach (var profile in _request.Project.RuntimeGraph.Supports) 1925else if (!runtimes.Supports.TryGetValue(profile.Value.Name, out compatProfile)) 2081foreach (var profile in _request.Project.RuntimeGraph.Supports) 2089else if (!runtimes.Supports.TryGetValue(profile.Value.Name, out compatProfile))
NuGet.Packaging (12)
RuntimeModel\JsonRuntimeFormat.cs (2)
87if (runtimeGraph.Supports.Any() == true) 91IOrderedEnumerable<CompatibilityProfile> sortedSupports = runtimeGraph.Supports.Values
RuntimeModel\RuntimeGraph.cs (10)
69if (Runtimes.Count != 0 || Supports.Count != 0) 77internal bool IsEmpty => Runtimes.Count == 0 && Supports.Count == 0; 88supports: Clone(Supports, s => s.Clone())); 147var supports = new Dictionary<string, CompatibilityProfile>(capacity: right.Supports.Count + left.Supports.Count); 150foreach (var compatProfile in right.Supports.NoAllocEnumerate()) 156foreach (var compatProfile in left.Supports.NoAllocEnumerate()) 312&& Supports.OrderedEquals(other.Supports, pair => pair.Key, StringComparer.Ordinal); 325hashCode.AddDictionary(Supports);