20 references to EqualsWithNullCheck
NuGet.ProjectModel (20)
LockFile\LockFile.cs (1)
73&& EqualityUtility.EqualsWithNullCheck(PackageSpec, other.PackageSpec)
PackageSpec.cs (3)
113return EqualityUtility.EqualsWithNullCheck(Version, other.Version) && 116EqualityUtility.EqualsWithNullCheck(RuntimeGraph, other.RuntimeGraph) && 117EqualityUtility.EqualsWithNullCheck(RestoreMetadata, other.RestoreMetadata);
ProjectLockFile\LockFileDependencyComparerWithoutContentHash.cs (1)
29EqualityUtility.EqualsWithNullCheck(x.RequestedVersion, y.RequestedVersion) &&
ProjectLockFile\LockFileDependencyIdVersionComparer.cs (1)
29EqualityUtility.EqualsWithNullCheck(x.ResolvedVersion, y.ResolvedVersion);
ProjectLockFile\PackagesLockFileUtilities.cs (4)
302if (EqualityUtility.EqualsWithNullCheck(target.TargetFramework, framework) && 452if (!EqualityUtility.EqualsWithNullCheck(lockFileDependency.RequestedVersion, dependency.LibraryRange.VersionRange)) 508if (matchedP2PLibrary == null || !EqualityUtility.EqualsWithNullCheck(matchedP2PLibrary.VersionRange, dependency.LibraryRange.VersionRange)) 584if (centralPackageVersion != null && !EqualityUtility.EqualsWithNullCheck(lockFileDependencyEnforcedByCPV.RequestedVersion, centralPackageVersion.VersionRange))
ProjectRestoreMetadata.cs (7)
231EqualityUtility.EqualsWithNullCheck(ProjectWideWarningProperties, other.ProjectWideWarningProperties) && 232EqualityUtility.EqualsWithNullCheck(RestoreLockProperties, other.RestoreLockProperties) && 233EqualityUtility.EqualsWithNullCheck(CentralPackageVersionsEnabled, other.CentralPackageVersionsEnabled) && 234EqualityUtility.EqualsWithNullCheck(CentralPackageFloatingVersionsEnabled, other.CentralPackageFloatingVersionsEnabled) && 235EqualityUtility.EqualsWithNullCheck(CentralPackageVersionOverrideDisabled, other.CentralPackageVersionOverrideDisabled) && 236EqualityUtility.EqualsWithNullCheck(CentralPackageTransitivePinningEnabled, other.CentralPackageTransitivePinningEnabled) && 239EqualityUtility.EqualsWithNullCheck(SdkAnalysisLevel, other.SdkAnalysisLevel) &&
ProjectRestoreMetadataFrameworkInfo.cs (1)
71return EqualityUtility.EqualsWithNullCheck(FrameworkName, other.FrameworkName) &&
ProjectRestoreSettings.cs (1)
52EqualityUtility.EqualsWithNullCheck(SdkVersion, other.SdkVersion);
TargetFrameworkInformation.cs (1)
191return EqualityUtility.EqualsWithNullCheck(FrameworkName, other.FrameworkName) &&