1 write to Name
NuGet.Packaging (1)
RuntimeModel\CompatibilityProfile.cs (1)
23
Name
= name;
16 references to Name
NuGet.Commands (6)
RestoreCommand\DependencyGraphResolver.cs (2)
271
else if (!allRuntimes.Supports.TryGetValue(profile.Value.
Name
, out compatProfile))
281
_logger.LogDebug($" {profile.Value.
Name
} -> +{frameworkRuntimePair}");
RestoreCommand\RestoreCommand.cs (4)
1925
else if (!runtimes.Supports.TryGetValue(profile.Value.
Name
, out compatProfile))
1936
_logger.LogDebug($" {profile.Value.
Name
} -> +{pair}");
2089
else if (!runtimes.Supports.TryGetValue(profile.Value.
Name
, out compatProfile))
2100
_logger.LogDebug($" {profile.Value.
Name
} -> +{pair}");
NuGet.Packaging (10)
RuntimeModel\CompatibilityProfile.cs (5)
29
return $"{
Name
}: {string.Join(",", RestoreContexts)}";
36
hashCode.AddObject(
Name
);
50
string.Equals(
Name
, other.
Name
, StringComparison.Ordinal) &&
56
return new CompatibilityProfile(
Name
, RestoreContexts.ToList());
RuntimeModel\JsonRuntimeFormat.cs (2)
92
.OrderBy(runtime => runtime.
Name
, StringComparer.Ordinal);
145
writer.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
))
60
supports.ToDictionary(r => r.
Name
))