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