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