diff --git a/src/LicenseGatherer.Core/InstalledPackageReferenceEqualityComparer.cs b/src/LicenseGatherer.Core/InstalledPackageReferenceEqualityComparer.cs index a0c9138..988ad9f 100644 --- a/src/LicenseGatherer.Core/InstalledPackageReferenceEqualityComparer.cs +++ b/src/LicenseGatherer.Core/InstalledPackageReferenceEqualityComparer.cs @@ -17,7 +17,7 @@ public int GetHashCode(InstalledPackageReference co) return HashCode.Combine(co.Name, co.ResolvedVersion); } - public bool Equals(InstalledPackageReference x1, InstalledPackageReference x2) + public bool Equals(InstalledPackageReference? x1, InstalledPackageReference? x2) { if (ReferenceEquals(x1, x2)) {