Base:
7 references to Equals
Microsoft.Net.Http.Headers.Tests (7)
RangeConditionHeaderValueTest.cs (7)
83Assert.False(rangeCondition1.Equals(null), "\"x\" vs. <null>"); 84Assert.True(rangeCondition1!.Equals(rangeCondition2), "\"x\" vs. \"x\""); 85Assert.False(rangeCondition1.Equals(rangeCondition3), "\"x\" vs. date"); 86Assert.False(rangeCondition3.Equals(rangeCondition1), "date vs. \"x\""); 87Assert.False(rangeCondition3.Equals(rangeCondition4), "date vs. different date"); 88Assert.True(rangeCondition3.Equals(rangeCondition5), "date vs. date"); 89Assert.False(rangeCondition1.Equals(rangeCondition6), "\"x\" vs. W/\"x\"");