5 instantiations of RuntimeDependencySet
Microsoft.DotNet.Build.Tasks.Packaging (1)
GenerateRuntimeDependencies.cs (1)
124runtimeDependencySets.Add(new RuntimeDependencySet(targetPackageId, runtimePackageDependencies));
NuGet.Packaging (3)
RuntimeModel\JsonRuntimeFormat.cs (3)
195return new RuntimeDependencySet(dependencySetId); 218return new RuntimeDependencySet(dependencySetId, dependencies); 568return new RuntimeDependencySet(
NuGet.ProjectModel (1)
JsonPackageSpecReader.Utf8JsonStreamReader.cs (1)
1215return new RuntimeDependencySet(
27 references to RuntimeDependencySet
Microsoft.DotNet.Build.Tasks.Packaging (2)
GenerateRuntimeDependencies.cs (2)
109List<RuntimeDependencySet> runtimeDependencySets = new List<RuntimeDependencySet>();
NuGet.Packaging (22)
RuntimeModel\JsonRuntimeFormat.cs (8)
152List<RuntimeDependencySet> dependencySets = []; 170RuntimeDependencySet? dependencySet = ReadRuntimeDependencySet(ref reader, propertyName); 188private static RuntimeDependencySet? ReadRuntimeDependencySet( 457foreach (var set in sortedDependencySets) 465private static void WriteRuntimeDependencySet(IObjectWriter writer, RuntimeDependencySet data) 544List<RuntimeDependencySet>? additionalDependencies = null; 558var dependency = ReadRuntimeDependencySet(property); 566private 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)
1198private static RuntimeDependencySet ReadRuntimeDependencySet(ref Utf8JsonStreamReader jsonReader, string dependencySetName) 1223List<RuntimeDependencySet> additionalDependencies = null; 1239RuntimeDependencySet dependency = ReadRuntimeDependencySet(ref jsonReader, propertyName);