5 writes to RuntimeGraph
NuGet.Build.Tasks.Console (1)
MSBuildStaticGraphRestore.cs (1)
985
RuntimeGraph
= new RuntimeGraph(
NuGet.Commands (2)
RestoreCommand\Utility\MSBuildRestoreUtility.cs (1)
245
result.
RuntimeGraph
= GetRuntimeGraph(specItem);
RestoreCommand\Utility\PackageSpecFactory.cs (1)
80
RuntimeGraph
= new RuntimeGraph(
NuGet.ProjectModel (2)
JsonPackageSpecReader.Utf8JsonStreamReader.cs (1)
166
packageSpec.
RuntimeGraph
= new RuntimeGraph(
PackageSpec.cs (1)
40
RuntimeGraph
= runtimeGraph ?? RuntimeGraph.Empty;
16 references to RuntimeGraph
NuGet.Commands (10)
RestoreCommand\DependencyGraphResolver.cs (1)
263
foreach (KeyValuePair<string, CompatibilityProfile> profile in _request.Project.
RuntimeGraph
.Supports)
RestoreCommand\RestoreCommand.cs (8)
181
_enableNewDependencyResolver = _request.Project.
RuntimeGraph
.Supports.Count == 0 && ShouldUseNewResolverWithLockFile(_isLockFileEnabled, _request.Project) && !_request.Project.RestoreMetadata.UseLegacyDependencyResolver;
390
telemetry.TelemetryEvent[RuntimeIdentifiersCount] = _request.Project.
RuntimeGraph
.Runtimes.Count;
625
var restoreTargetGraph = RestoreTargetGraph.Create(_request.Project.
RuntimeGraph
, Enumerable.Empty<GraphNode<RemoteResolveResult>>(), contextForProject, frameworkRuntimePairs[i].TargetAlias, frameworkRuntimePairs[i].Framework, frameworkRuntimePairs[i].RuntimeIdentifier);
1852
var hasSupports = _request.Project.
RuntimeGraph
.Supports.Count > 0;
1910
allGraphs.Add(RestoreTargetGraph.Create(_request.Project.
RuntimeGraph
, Enumerable.Empty<GraphNode<RemoteResolveResult>>(), context, frameworkRuntimePair.TargetAlias, frameworkRuntimePair.Framework, frameworkRuntimePair.RuntimeIdentifier));
1915
foreach (var profile in _request.Project.
RuntimeGraph
.Supports)
2076
graphs.Add(RestoreTargetGraph.Create(_request.Project.
RuntimeGraph
, Enumerable.Empty<GraphNode<RemoteResolveResult>>(), context, frameworkRuntimePair.TargetAlias, frameworkRuntimePair.Framework, frameworkRuntimePair.RuntimeIdentifier));
2081
foreach (var profile in _request.Project.
RuntimeGraph
.Supports)
Utility\RequestRuntimeUtility.cs (1)
26
runtimes.UnionWith(request.Project.
RuntimeGraph
.Runtimes.Keys);
NuGet.ProjectModel (6)
PackageSpec.cs (4)
88
hashCode.AddObject(
RuntimeGraph
);
116
EqualityUtility.EqualsWithNullCheck(
RuntimeGraph
, other.
RuntimeGraph
) &&
137
RuntimeGraph
?.Clone(),
PackageSpecWriter.cs (1)
62
JsonRuntimeFormat.WriteRuntimeGraph(writer, packageSpec.
RuntimeGraph
);
ProjectLockFile\PackagesLockFileUtilities.cs (1)
123
var projectRuntimesKeys = project.
RuntimeGraph
.Runtimes.Select(r => r.Key).Where(k => k != null);