Implemented interface member:
method
Equals
System.Collections.Generic.IEqualityComparer<T>.Equals(T, T)
8 overrides of Equals
mscorlib (6)
system\collections\generic\equalitycomparer.cs (6)
129public override bool Equals(T x, T y) { 189public override bool Equals(Nullable<T> x, Nullable<T> y) { 248public override bool Equals(T x, T y) { 338public override bool Equals(byte x, byte y) { 387public override bool Equals(T x, T y) { 457public override bool Equals(T x, T y) {
PresentationCore (1)
Core\CSharp\System\Windows\Media\SolidColorBrush.cs (1)
347public override bool Equals(T x, T y)
System.ServiceModel (1)
System\ServiceModel\Dispatcher\EndpointAddressMessageFilter.cs (1)
135public override bool Equals(Uri u1, Uri u2)
33 references to Equals
mscorlib (16)
system\array.cs (1)
1375(Contract.Result<int>() >= 0 && Contract.Result<int>() < array.Length && EqualityComparer<T>.Default.Equals(value, array[Contract.Result<int>()])));
system\Collections\Concurrent\ConcurrentDictionary.cs (2)
454bool valuesMatch = EqualityComparer<TValue>.Default.Equals(oldValue, curr.m_value); 1427return EqualityComparer<TValue>.Default.Equals(value, keyValuePair.Value);
system\collections\generic\dictionary.cs (3)
201if( i >= 0 && EqualityComparer<TValue>.Default.Equals(entries[i].value, keyValuePair.Value)) { 209if( i >= 0 && EqualityComparer<TValue>.Default.Equals(entries[i].value, keyValuePair.Value)) { 240if (entries[i].hashCode >= 0 && c.Equals(entries[i].value, value)) return true;
system\collections\generic\equalitycomparer.cs (3)
94if (Equals(array[i], value)) return i; 102if (Equals(array[i], value)) return i; 117if ((x is T) && (y is T)) return Equals((T)x, (T)y);
system\collections\generic\list.cs (1)
326if (c.Equals(_items[i], item)) return true;
system\collections\objectmodel\keyedcollection.cs (1)
102return EqualityComparer<TItem>.Default.Equals(itemInDict, item);
system\nullable.cs (1)
123if (n2.HasValue) return EqualityComparer<T>.Default.Equals(n1.value, n2.value);
system\runtime\compilerservices\AsyncMethodBuilder.cs (1)
716EqualityComparer<TResult>.Default.Equals(result, Contract.Result<Task<TResult>>().Result),
system\runtime\interopservices\windowsruntime\dictionaryvaluecollection.cs (1)
73if (comparer.Equals(item, value))
system\runtime\interopservices\windowsruntime\ireadonlylisttoivectorviewadapter.cs (1)
73if (EqualityComparer<T>.Default.Equals(value, _this[i]))
system\runtime\interopservices\windowsruntime\maptocollectionadapter.cs (1)
129return EqualityComparer<V>.Default.Equals(value, item.Value);
System (9)
compmod\system\collections\generic\linkedlist.cs (2)
202if (c.Equals(node.item, value)) { 229if (c.Equals(node.item, value)) {
compmod\system\collections\generic\queue.cs (1)
275else if (_array[index] != null && c.Equals(_array[index], item)) {
compmod\system\collections\generic\sorteddictionary.cs (3)
61return EqualityComparer<TValue>.Default.Equals(node.Item.Value, keyValuePair.Value); 71if( EqualityComparer<TValue>.Default.Equals(node.Item.Value, keyValuePair.Value)) { 196if(valueComparer.Equals(node.Item.Value, value)) {
compmod\system\collections\generic\sortedlist.cs (2)
191if( index >= 0 && EqualityComparer<TValue>.Default.Equals(values[index], keyValuePair.Value)) { 199if( index >= 0 && EqualityComparer<TValue>.Default.Equals(values[index], keyValuePair.Value)) {
compmod\system\collections\generic\stack.cs (1)
128else if (_array[count] != null && c.Equals(_array[count], item) ) {
System.Core (3)
Microsoft\Scripting\Utils\CollectionExtensions.cs (1)
106if (!cmp.Equals(f.Current, s.Current)) {
Microsoft\Scripting\Utils\Helpers.cs (1)
32if (cmp.Equals(first, second)) {
Microsoft\Scripting\Utils\ReadOnlyCollectionBuilder.cs (1)
228if (c.Equals(_items[i], item)) {
System.Data.Entity (3)
System\Data\Common\Utils\Pair.cs (2)
94return firstComparer.Equals(x.First, y.First) && secondComparer.Equals(x.Second, y.Second);
System\Data\Mapping\ViewGeneration\BasicViewGenerator.cs (1)
471if (EqualityComparer<EntitySet>.Default.Equals(parent, child))
System.Runtime.DurableInstancing (1)
System\Runtime\PersistencePipeline.cs (1)
356return EqualityComparer<object>.Default.Equals(value, item.Value);
System.ServiceModel (1)
System\ServiceModel\SynchronizedKeyedCollection.cs (1)
167return EqualityComparer<T>.Default.Equals(item, itemInDict);