don't call .Equals to test for null

bugz: 37598