11 references to Comparer
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (11)
MemberExpressionCacheKeyComparerTest.cs (11)
157Assert.Equal(key1, key2, Comparer);
159var hashCode1 = Comparer.GetHashCode(key1);
160var hashCode2 = Comparer.GetHashCode(key2);
165Assert.Equal(key1, cachedKey1, Comparer);
166Assert.Equal(cachedKey1, key1, Comparer);
168var cachedKeyHashCode1 = Comparer.GetHashCode(cachedKey1);
174var hashCode1 = Comparer.GetHashCode(key1);
175var hashCode2 = Comparer.GetHashCode(key2);
178Assert.NotEqual(key1, key2, Comparer);
181Assert.NotEqual(key2, cachedKey1, Comparer);
183var cachedKeyHashCode1 = Comparer.GetHashCode(cachedKey1);