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