2 references to GetNearest
Microsoft.DotNet.Build.Tasks.TargetFramework (2)
ChooseBestP2PTargetFrameworkTask.cs (1)
94string? nearestNuGetFramework = targetFrameworkResolver.GetNearest(referencedProjectFrameworks, projectNuGetFramework);
ChooseBestTargetFrameworksTask.cs (1)
37string? bestTargetFramework = targetframeworkResolver.GetNearest(SupportedTargetFrameworks!, framework);