1 write to IsNet5Era
NuGet.Frameworks (1)
NuGetFramework.cs (1)
68
IsNet5Era
= (_frameworkVersion.Major >= Version5 && StringComparer.OrdinalIgnoreCase.Equals(FrameworkConstants.FrameworkIdentifiers.NetCoreApp, _frameworkIdentifier));
8 references to IsNet5Era
NuGet.Frameworks (8)
CompatibilityProvider.cs (2)
182
bool isNet6Era = target.
IsNet5Era
&& target.Version.Major >= 6;
204
if (target.
IsNet5Era
&& candidate.HasPlatform)
FrameworkReducer.cs (1)
90
bool isNet6Era = framework.
IsNet5Era
&& framework.Version.Major >= 6;
NuGetFramework.cs (5)
69
Platform =
IsNet5Era
? platform : string.Empty;
70
PlatformVersion =
IsNet5Era
? NormalizeVersion(platformVersion) : FrameworkConstants.EmptyVersion;
190
return
IsNet5Era
? FrameworkConstants.FrameworkIdentifiers.Net : Framework;
258
else if (
IsNet5Era
)
418
return
IsNet5Era