Base:
12 references to Equals
Microsoft.AspNetCore.Razor.Language.UnitTests (12)
TagHelperCollectionTest.cs (12)
728Assert.True(collection.Equals((object)collection)); 741Assert.True(collection1.Equals((object)collection2)); 753Assert.False(collection1.Equals((object)collection2)); 764Assert.False(collection.Equals((object?)null)); 774Assert.False(collection.Equals("not a collection")); 1977Assert.True(merged1.Equals((object)merged2)); 3058Assert.False(merged.Equals((object?)null)); 3071Assert.False(merged.Equals("not a collection")); 3072Assert.False(merged.Equals(42)); 3089Assert.True(merged1.Equals((object)merged2)); 3090Assert.True(merged2.Equals((object)merged1)); 3091Assert.True(merged1.Equals((object)merged1)); // Reflexivity