1 write to Name
NuGet.Packaging (1)
RuntimeModel\CompatibilityProfile.cs (1)
23Name = name;
16 references to Name
NuGet.Commands (6)
RestoreCommand\DependencyGraphResolver.cs (2)
271else if (!allRuntimes.Supports.TryGetValue(profile.Value.Name, out compatProfile)) 281_logger.LogDebug($" {profile.Value.Name} -> +{frameworkRuntimePair}");
RestoreCommand\RestoreCommand.cs (4)
1925else if (!runtimes.Supports.TryGetValue(profile.Value.Name, out compatProfile)) 1936_logger.LogDebug($" {profile.Value.Name} -> +{pair}"); 2089else if (!runtimes.Supports.TryGetValue(profile.Value.Name, out compatProfile)) 2100_logger.LogDebug($" {profile.Value.Name} -> +{pair}");
NuGet.Packaging (10)
RuntimeModel\CompatibilityProfile.cs (5)
29return $"{Name}: {string.Join(",", RestoreContexts)}"; 36hashCode.AddObject(Name); 50string.Equals(Name, other.Name, StringComparison.Ordinal) && 56return new CompatibilityProfile(Name, RestoreContexts.ToList());
RuntimeModel\JsonRuntimeFormat.cs (2)
92.OrderBy(runtime => runtime.Name, StringComparer.Ordinal); 145writer.WriteObjectStart(data.Name);
RuntimeModel\RuntimeGraph.cs (3)
38/// Gets a map of <see cref="CompatibilityProfile"/> keyed by <see cref="CompatibilityProfile.Name"/>. 53: this(EmptyRuntimes, supports.ToDictionary(r => r.Name)) 60supports.ToDictionary(r => r.Name))