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