❔ Nullability issue

I have this code
        public bool Equals(Money money)
        {
            if (money is null)
            {
                return false;
            }

            if (ReferenceEquals(this, money))
            {
                return true;
            }

            return Currency.CurrencyCode == money.Currency.CurrencyCode && Amount == money.Amount;
        }

and i get this warning. How can i fix it?
image.png
Was this page helpful?