1 implementation of TryGetPortableFrameworks
Microsoft.VisualStudio.TestPlatform.ObjectModel (1)
Nuget.Frameworks\FrameworkNameProvider.cs (1)
537public bool TryGetPortableFrameworks(string profile, bool includeOptional, [NotNullWhen(true)] out IEnumerable<NuGetFramework>? frameworks)
5 references to TryGetPortableFrameworks
Microsoft.VisualStudio.TestPlatform.ObjectModel (5)
Nuget.Frameworks\CompatibilityProvider.cs (2)
125if (!_mappings.TryGetPortableFrameworks(target.Profile, includeOptional: false, out targetFrameworks)) 138if (!_mappings.TryGetPortableFrameworks(candidate.Profile, includeOptional: true, out candidateFrameworks))
Nuget.Frameworks\FrameworkReducer.cs (1)
442if (!_mappings.TryGetPortableFrameworks(pcl.Profile, includeOptional, out IEnumerable<NuGetFramework>? frameworks))
Nuget.Frameworks\NuGetFramework.cs (2)
237&& mappings.TryGetPortableFrameworks(framework.Profile, includeOptional: false, out IEnumerable<NuGetFramework>? frameworks) 243mappings.TryGetPortableFrameworks(framework.Profile, includeOptional: false, out frameworks);