3 instantiations of RuntimeDependencySet
Microsoft.DotNet.Build.Tasks.Packaging (1)
GenerateRuntimeDependencies.cs (1)
123runtimeDependencySets.Add(new RuntimeDependencySet(targetPackageId, runtimePackageDependencies));
NuGet.Packaging (1)
RuntimeModel\JsonRuntimeFormat.cs (1)
225return new RuntimeDependencySet(
NuGet.ProjectModel (1)
JsonPackageSpecReader.Utf8JsonStreamReader.cs (1)
1208return new RuntimeDependencySet(
24 references to RuntimeDependencySet
Microsoft.DotNet.Build.Tasks.Packaging (2)
GenerateRuntimeDependencies.cs (2)
108List<RuntimeDependencySet> runtimeDependencySets = new List<RuntimeDependencySet>();
NuGet.Packaging (19)
RuntimeModel\JsonRuntimeFormat.cs (5)
114foreach (var set in sortedDependencySets) 122private static void WriteRuntimeDependencySet(IObjectWriter writer, RuntimeDependencySet data) 201List<RuntimeDependencySet>? additionalDependencies = null; 215var dependency = ReadRuntimeDependencySet(property); 223private static RuntimeDependencySet ReadRuntimeDependencySet(KeyValuePair<string, JToken> json)
RuntimeModel\RuntimeDependencySet.cs (3)
14public sealed class RuntimeDependencySet : IEquatable<RuntimeDependencySet> 44public bool Equals(RuntimeDependencySet? other) 62return Equals(obj as RuntimeDependencySet);
RuntimeModel\RuntimeDescription.cs (10)
16private static readonly IReadOnlyDictionary<string, RuntimeDependencySet> EmptyRuntimeDependencySets = new Dictionary<string, RuntimeDependencySet>(); 23/// RID specific package dependencies, keyed by <see cref="RuntimeDependencySet.Id"/>. 25public IReadOnlyDictionary<string, RuntimeDependencySet> RuntimeDependencySets { get; } 37public RuntimeDescription(string runtimeIdentifier, IEnumerable<RuntimeDependencySet>? runtimeDependencySets) 42public RuntimeDescription(string runtimeIdentifier, IEnumerable<string>? inheritedRuntimes, IEnumerable<RuntimeDependencySet>? runtimeDependencySets) 50private RuntimeDescription(string runtimeIdentifier, IReadOnlyList<string>? inheritedRuntimes, IReadOnlyDictionary<string, RuntimeDependencySet>? runtimeDependencySets) 101var newSets = new Dictionary<string, RuntimeDependencySet>(StringComparer.OrdinalIgnoreCase); 102foreach (var dependencySet in left.RuntimeDependencySets.Values) 108foreach (var dependencySet in right.RuntimeDependencySets.Values)
RuntimeModel\RuntimeGraph.cs (1)
288if (runtimeDescription.RuntimeDependencySets.TryGetValue(key.PackageId, out var dependencySet))
NuGet.ProjectModel (3)
JsonPackageSpecReader.Utf8JsonStreamReader.cs (3)
1191private static RuntimeDependencySet ReadRuntimeDependencySet(ref Utf8JsonStreamReader jsonReader, string dependencySetName) 1216List<RuntimeDependencySet> additionalDependencies = null; 1232RuntimeDependencySet dependency = ReadRuntimeDependencySet(ref jsonReader, propertyName);