2 instantiations of FrameworkRuntimeDefinition
NuGet.Commands (2)
RestoreCommand\RestoreCommand.cs (2)
2267projectFrameworkRuntimePairs.Add(new FrameworkRuntimeDefinition(framework.TargetAlias, framework.FrameworkName, null)); 2274projectFrameworkRuntimePairs.Add(new FrameworkRuntimeDefinition(framework.TargetAlias, framework.FrameworkName, runtimeId));
14 references to FrameworkRuntimeDefinition
NuGet.Commands (14)
RestoreCommand\DependencyGraphResolver.cs (8)
150List<FrameworkRuntimeDefinition> frameworkRuntimeDefinitions = RestoreCommand.CreateFrameworkRuntimeDefinitions(_request.Project, runtimeIds: RequestRuntimeUtility.GetRestoreRuntimes(_request)); 154foreach (FrameworkRuntimeDefinition frameworkRuntimeDefinition in frameworkRuntimeDefinitions.NoAllocEnumerate()) 301/// <param name="frameworkRuntimeDefinition">The <see cref="FrameworkRuntimeDefinition" /> of the dependency graph.</param> 314FrameworkRuntimeDefinition frameworkRuntimeDefinition, 910FrameworkRuntimeDefinition pair, 1423/// <param name="frameworkRuntimeDefinition">The <see cref="FrameworkRuntimeDefinition" /> representing the current target framework and runtime identifier for which to get a runtime graph.</param> 1425/// <param name="runtimeGraph">Receives the <see cref="RuntimeGraph" /> for the <see cref="FrameworkRuntimeDefinition" /> if one was found, otherwise <see langword="null" />.</param> 1427private bool TryGetRuntimeGraph(List<NuGetv3LocalRepository> localRepositories, Dictionary<string, RestoreTargetGraph> graphsByTargetAlias, FrameworkRuntimeDefinition frameworkRuntimeDefinition, TargetFrameworkInformation? projectTargetFramework, [NotNullWhen(true)] out RuntimeGraph? runtimeGraph)
RestoreCommand\RestoreCommand.cs (6)
1866foreach (var frameworkRuntimeDefinition in projectFrameworkRuntimePairs) 1908foreach (FrameworkRuntimeDefinition frameworkRuntimePair in CreateFrameworkRuntimeDefinitions(_request.Project, RequestRuntimeUtility.GetRestoreRuntimes(_request))) 2074foreach (FrameworkRuntimeDefinition frameworkRuntimePair in CreateFrameworkRuntimeDefinitions(_request.Project, RequestRuntimeUtility.GetRestoreRuntimes(_request))) 2258/// <returns>A <see cref="List{T}" /> containing <see cref="FrameworkRuntimeDefinition" /> objects with the frameworks with empty runtime identifiers followed by frameworks with the specified runtime identifiers.</returns> 2259internal static List<FrameworkRuntimeDefinition> CreateFrameworkRuntimeDefinitions(PackageSpec packageSpec, ISet<string> runtimeIds) 2262List<FrameworkRuntimeDefinition> projectFrameworkRuntimePairs = new(capacity: packageSpec.TargetFrameworks.Count * (runtimeIds.Count + 1));