1 implementation of TryGetPortableFrameworks
Microsoft.VisualStudio.TestPlatform.ObjectModel (1)
Nuget.Frameworks\FrameworkNameProvider.cs (1)
537
public 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)
125
if (!_mappings.
TryGetPortableFrameworks
(target.Profile, includeOptional: false, out targetFrameworks))
138
if (!_mappings.
TryGetPortableFrameworks
(candidate.Profile, includeOptional: true, out candidateFrameworks))
Nuget.Frameworks\FrameworkReducer.cs (1)
442
if (!_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)
243
mappings.
TryGetPortableFrameworks
(framework.Profile, includeOptional: false, out frameworks);