1 instantiation of TargetFrameworkResolver
Microsoft.DotNet.Build.Tasks.TargetFramework (1)
TargetFrameworkResolver.cs (1)
45
targetFrameworkResolver = new
TargetFrameworkResolver
(runtimeGraph);
8 references to TargetFrameworkResolver
Microsoft.DotNet.Build.Tasks.TargetFramework (8)
ChooseBestP2PTargetFrameworkTask.cs (3)
62
TargetFrameworkResolver
targetFrameworkResolver =
TargetFrameworkResolver
.CreateOrGet(RuntimeGraph!);
80
TargetFrameworkResolver
targetFrameworkResolver)
ChooseBestTargetFrameworksTask.cs (2)
32
TargetFrameworkResolver
targetframeworkResolver =
TargetFrameworkResolver
.CreateOrGet(RuntimeGraph!);
TargetFrameworkResolver.cs (3)
19
private static readonly Dictionary<string,
TargetFrameworkResolver
> s_targetFrameworkResolverCache = new();
41
public static
TargetFrameworkResolver
CreateOrGet(string runtimeGraph)
43
if (!s_targetFrameworkResolverCache.TryGetValue(runtimeGraph, out
TargetFrameworkResolver
? targetFrameworkResolver))