6 references to IsCompatibleApiVersion
Microsoft.DotNet.Build.Tasks.Packaging (5)
PackageIndex.cs (2)
625
VersionUtility.
IsCompatibleApiVersion
(assemblyVersionInbox, assemblyVersion) :
644
VersionUtility.
IsCompatibleApiVersion
(compatibleMapping.Value, assemblyVersion) :
ValidatePackage.cs (3)
278
if (!VersionUtility.
IsCompatibleApiVersion
(supportedVersion, referenceAssemblyVersion))
307
if (!VersionUtility.
IsCompatibleApiVersion
(supportedVersion, implementationVersion))
316
!VersionUtility.
IsCompatibleApiVersion
(referenceAssemblyVersion, implementationVersion))
Microsoft.DotNet.Build.Tasks.Packaging.Tests (1)
VersionUtilityTests.cs (1)
32
bool isCompatible = VersionUtility.
IsCompatibleApiVersion
(referenceVersion, candidateVersion);