26 types derived from EqualityComparer
illink (2)
installer.tasks (1)
Microsoft.CodeAnalysis (3)
Microsoft.CodeAnalysis.CSharp (4)
Microsoft.CodeAnalysis.UnitTests (1)
Microsoft.DotNet.Build.Tasks.Packaging (1)
Microsoft.ML.TimeSeries (1)
System.Private.CoreLib (13)
959 references to EqualityComparer
Aspire.Dashboard (3)
dotnet-dev-certs (2)
dotnet-svcutil-lib (4)
illink (2)
ILLink.RoslynAnalyzer (2)
Microsoft.Analyzers.Local (1)
Microsoft.Arcade.Test.Common (1)
Microsoft.AspNetCore.App.Analyzers (3)
Microsoft.AspNetCore.Components (2)
Microsoft.AspNetCore.Components.Endpoints (4)
Microsoft.AspNetCore.Components.Endpoints.Tests (2)
Microsoft.AspNetCore.Components.Web (1)
Microsoft.AspNetCore.DeveloperCertificates.XPlat (2)
Microsoft.AspNetCore.Http (5)
Microsoft.AspNetCore.Http.Abstractions (2)
Microsoft.AspNetCore.Mvc.RazorPages (1)
Microsoft.AspNetCore.Razor.Runtime (1)
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Microsoft.AspNetCore.Shared.Tests (5)
Microsoft.Build (17)
Microsoft.Build.Engine.UnitTests (5)
Microsoft.Build.Framework (35)
SegmentedDictionary`2.cs (17)
53/// <see cref="EqualityComparer{T}.Default"/> doesn't devirtualize on .NET Framework, so we always ensure
89if (comparer != null && comparer != EqualityComparer<TKey>.Default) // first check for null to avoid forcing default comparer instantiation unnecessarily
96_comparer ??= EqualityComparer<TKey>.Default;
161return _comparer ?? EqualityComparer<TKey>.Default;
211if (!RoslynUnsafe.IsNullRef(ref value) && EqualityComparer<TValue>.Default.Equals(value, keyValuePair.Value))
222if (!RoslynUnsafe.IsNullRef(ref value) && EqualityComparer<TValue>.Default.Equals(value, keyValuePair.Value))
269if (entries[i]._next >= -1 && EqualityComparer<TValue>.Default.Equals(entries[i]._value, value))
280var defaultComparer = EqualityComparer<TValue>.Default;
360if (entry._hashCode == hashCode && EqualityComparer<TKey>.Default.Equals(entry._key, key))
379var defaultComparer = EqualityComparer<TKey>.Default;
505if (entries[i]._hashCode == hashCode && EqualityComparer<TKey>.Default.Equals(entries[i]._key, key))
537var defaultComparer = EqualityComparer<TKey>.Default;
698if (entry._hashCode == hashCode && (_comparer?.Equals(entry._key, key) ?? EqualityComparer<TKey>.Default.Equals(entry._key, key)))
770if (entry._hashCode == hashCode && (_comparer?.Equals(entry._key, key) ?? EqualityComparer<TKey>.Default.Equals(entry._key, key)))
Microsoft.CodeAnalysis (74)
Microsoft.CodeAnalysis.CodeStyle (61)
src\Dependencies\Collections\SegmentedDictionary`2.cs (13)
57/// <see cref="EqualityComparer{T}.Default"/> doesn't devirtualize on .NET Framework, so we always ensure
102_comparer = comparer ?? EqualityComparer<TKey>.Default;
105comparer != EqualityComparer<TKey>.Default)
224return _comparer ?? EqualityComparer<TKey>.Default;
274if (!RoslynUnsafe.IsNullRef(ref value) && EqualityComparer<TValue>.Default.Equals(value, keyValuePair.Value))
285if (!RoslynUnsafe.IsNullRef(ref value) && EqualityComparer<TValue>.Default.Equals(value, keyValuePair.Value))
332if (entries[i]._next >= -1 && EqualityComparer<TValue>.Default.Equals(entries[i]._value, value))
343var defaultComparer = EqualityComparer<TValue>.Default;
429if (entry._hashCode == hashCode && EqualityComparer<TKey>.Default.Equals(entry._key, key))
543if (entries[i]._hashCode == hashCode && EqualityComparer<TKey>.Default.Equals(entries[i]._key, key))
699(SupportsComparerDevirtualization && typeof(TKey).IsValueType && comparer == null ? EqualityComparer<TKey>.Default.Equals(entry._key, key) : comparer!.Equals(entry._key, key)))
776(SupportsComparerDevirtualization && typeof(TKey).IsValueType && comparer == null ? EqualityComparer<TKey>.Default.Equals(entry._key, key) : comparer!.Equals(entry._key, key)))
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
Microsoft.CodeAnalysis.Collections.Package (34)
SegmentedDictionary`2.cs (13)
57/// <see cref="EqualityComparer{T}.Default"/> doesn't devirtualize on .NET Framework, so we always ensure
102_comparer = comparer ?? EqualityComparer<TKey>.Default;
105comparer != EqualityComparer<TKey>.Default)
224return _comparer ?? EqualityComparer<TKey>.Default;
274if (!RoslynUnsafe.IsNullRef(ref value) && EqualityComparer<TValue>.Default.Equals(value, keyValuePair.Value))
285if (!RoslynUnsafe.IsNullRef(ref value) && EqualityComparer<TValue>.Default.Equals(value, keyValuePair.Value))
332if (entries[i]._next >= -1 && EqualityComparer<TValue>.Default.Equals(entries[i]._value, value))
343var defaultComparer = EqualityComparer<TValue>.Default;
429if (entry._hashCode == hashCode && EqualityComparer<TKey>.Default.Equals(entry._key, key))
543if (entries[i]._hashCode == hashCode && EqualityComparer<TKey>.Default.Equals(entries[i]._key, key))
699(SupportsComparerDevirtualization && typeof(TKey).IsValueType && comparer == null ? EqualityComparer<TKey>.Default.Equals(entry._key, key) : comparer!.Equals(entry._key, key)))
776(SupportsComparerDevirtualization && typeof(TKey).IsValueType && comparer == null ? EqualityComparer<TKey>.Default.Equals(entry._key, key) : comparer!.Equals(entry._key, key)))
Microsoft.CodeAnalysis.CSharp (16)
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Features (1)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (13)
SourceGeneration\StateTableTests.cs (11)
85builder.TryModifyEntries(ImmutableArray.Create(10, 11), EqualityComparer<int>.Default, TimeSpan.Zero, default, EntryState.Modified);
87builder.TryModifyEntries(ImmutableArray.Create(20, 21, 22), EqualityComparer<int>.Default, TimeSpan.Zero, default, EntryState.Modified);
188Assert.True(builder.TryModifyEntries(ImmutableArray.Create(3, 2), EqualityComparer<int>.Default, TimeSpan.Zero, default, EntryState.Modified));
189Assert.True(builder.TryModifyEntries(ImmutableArray<int>.Empty, EqualityComparer<int>.Default, TimeSpan.Zero, default, EntryState.Modified));
190Assert.True(builder.TryModifyEntries(ImmutableArray.Create(3, 5), EqualityComparer<int>.Default, TimeSpan.Zero, default, EntryState.Modified));
212Assert.True(builder.TryModifyEntry(1, EqualityComparer<int>.Default, TimeSpan.Zero, default, EntryState.Modified));
213Assert.True(builder.TryModifyEntry(2, EqualityComparer<int>.Default, TimeSpan.Zero, default, EntryState.Modified));
214Assert.True(builder.TryModifyEntry(5, EqualityComparer<int>.Default, TimeSpan.Zero, default, EntryState.Modified));
215Assert.True(builder.TryModifyEntry(4, EqualityComparer<int>.Default, TimeSpan.Zero, default, EntryState.Modified));
236Assert.True(builder.TryModifyEntry(1, EqualityComparer<int>.Default, TimeSpan.Zero, default, EntryState.Modified)); // ((1, EntryState.Cached))
237Assert.True(builder.TryModifyEntry(4, EqualityComparer<int>.Default, TimeSpan.Zero, default, EntryState.Modified)); // ((4, EntryState.Modified))
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (18)
Microsoft.CodeAnalysis.EditorFeatures (4)
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
Microsoft.CodeAnalysis.EditorFeatures.Wpf (2)
Microsoft.CodeAnalysis.Features (3)
Microsoft.CodeAnalysis.InteractiveHost (1)
Microsoft.CodeAnalysis.LanguageServer (2)
Microsoft.CodeAnalysis.LanguageServer.Protocol (18)
Microsoft.CodeAnalysis.PooledObjects.Package (2)
Microsoft.CodeAnalysis.Remote.ServiceHub (1)
Microsoft.CodeAnalysis.Test.Utilities (5)
Microsoft.CodeAnalysis.UnitTests (42)
Collections\IndexOfTests.cs (10)
33Assert.Throws<ArgumentOutOfRangeException>(() => indexOfItemIndexCountEQ(emptyCollection, 100, 1, 1, EqualityComparer<int>.Default));
34Assert.Throws<ArgumentOutOfRangeException>(() => indexOfItemIndexCountEQ(emptyCollection, 100, -1, 1, EqualityComparer<int>.Default));
35Assert.Throws<ArgumentOutOfRangeException>(() => indexOfItemIndexCountEQ(collection1256, 100, 1, 20, EqualityComparer<int>.Default));
36Assert.Throws<ArgumentOutOfRangeException>(() => indexOfItemIndexCountEQ(collection1256, 100, 1, -1, EqualityComparer<int>.Default));
102Assert.Throws<ArgumentOutOfRangeException>(() => lastIndexOfItemIndexCountEQ(emptyCollection, 100, 1, 1, EqualityComparer<int>.Default));
103Assert.Throws<ArgumentOutOfRangeException>(() => lastIndexOfItemIndexCountEQ(emptyCollection, 100, -1, 1, EqualityComparer<int>.Default));
104Assert.Throws<ArgumentOutOfRangeException>(() => lastIndexOfItemIndexCountEQ(collection1256, 100, 1, 20, EqualityComparer<int>.Default));
105Assert.Throws<ArgumentOutOfRangeException>(() => lastIndexOfItemIndexCountEQ(collection1256, 100, 1, -1, EqualityComparer<int>.Default));
113Assert.Equal(-1, lastIndexOfItemEQ(emptyCollection, 5, EqualityComparer<int>.Default));
134actual = lastIndexOfItemEQ(factory(list), match, EqualityComparer<int>.Default);
Microsoft.CodeAnalysis.Workspaces (71)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (48)
src\Dependencies\Collections\SegmentedDictionary`2.cs (13)
57/// <see cref="EqualityComparer{T}.Default"/> doesn't devirtualize on .NET Framework, so we always ensure
102_comparer = comparer ?? EqualityComparer<TKey>.Default;
105comparer != EqualityComparer<TKey>.Default)
224return _comparer ?? EqualityComparer<TKey>.Default;
274if (!RoslynUnsafe.IsNullRef(ref value) && EqualityComparer<TValue>.Default.Equals(value, keyValuePair.Value))
285if (!RoslynUnsafe.IsNullRef(ref value) && EqualityComparer<TValue>.Default.Equals(value, keyValuePair.Value))
332if (entries[i]._next >= -1 && EqualityComparer<TValue>.Default.Equals(entries[i]._value, value))
343var defaultComparer = EqualityComparer<TValue>.Default;
429if (entry._hashCode == hashCode && EqualityComparer<TKey>.Default.Equals(entry._key, key))
543if (entries[i]._hashCode == hashCode && EqualityComparer<TKey>.Default.Equals(entries[i]._key, key))
699(SupportsComparerDevirtualization && typeof(TKey).IsValueType && comparer == null ? EqualityComparer<TKey>.Default.Equals(entry._key, key) : comparer!.Equals(entry._key, key)))
776(SupportsComparerDevirtualization && typeof(TKey).IsValueType && comparer == null ? EqualityComparer<TKey>.Default.Equals(entry._key, key) : comparer!.Equals(entry._key, key)))
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
Microsoft.CSharp (2)
Microsoft.Data.Analysis (3)
Microsoft.DotNet.NuGetRepack.Tests (1)
Microsoft.DotNet.XUnitAssert.Tests (1)
Microsoft.Extensions.Logging.Generators (2)
Microsoft.Extensions.Telemetry (3)
Microsoft.Interop.ComInterfaceGenerator (1)
Microsoft.Interop.JavaScript.JSImportGenerator (2)
Microsoft.Interop.LibraryImportGenerator (1)
Microsoft.Interop.LibraryImportGenerator.Downlevel (1)
Microsoft.Interop.SourceGeneration (1)
Microsoft.ML.Data (3)
Microsoft.ML.TestFramework (4)
Microsoft.ML.Transforms (1)
Microsoft.VisualStudio.LanguageServices (5)
MSBuildTaskHost (1)
mscorlib (1)
netstandard (1)
PresentationFramework (1)
Shared (3)
System.Collections (34)
System.Collections.Concurrent (12)
System.Collections.Immutable (129)
System\Collections\Immutable\ImmutableArray_1.Builder.cs (17)
517/// If <c>null</c>, <see cref="EqualityComparer{T}.Default"/> is used.
611this.RemoveRange(items, EqualityComparer<T>.Default);
620/// If <c>null</c>, <see cref="EqualityComparer{T}.Default"/> is used.
646this.Replace(oldValue, newValue, EqualityComparer<T>.Default);
656/// If <c>null</c>, <see cref="EqualityComparer{T}.Default"/> is used.
755return this.IndexOf(item, 0, _count, EqualityComparer<T>.Default);
766return this.IndexOf(item, startIndex, this.Count - startIndex, EqualityComparer<T>.Default);
778return this.IndexOf(item, startIndex, count, EqualityComparer<T>.Default);
789/// If <c>null</c>, <see cref="EqualityComparer{T}.Default"/> is used.
802equalityComparer ??= EqualityComparer<T>.Default;
803if (equalityComparer == EqualityComparer<T>.Default)
828/// If <c>null</c>, <see cref="EqualityComparer{T}.Default"/> is used.
848return this.LastIndexOf(item, this.Count - 1, this.Count, EqualityComparer<T>.Default);
866return this.LastIndexOf(item, startIndex, startIndex + 1, EqualityComparer<T>.Default);
878return this.LastIndexOf(item, startIndex, count, EqualityComparer<T>.Default);
899equalityComparer ??= EqualityComparer<T>.Default;
900if (equalityComparer == EqualityComparer<T>.Default)
System\Collections\Immutable\ImmutableArray_1.cs (19)
115return self.IndexOf(item, 0, self.Length, EqualityComparer<T>.Default);
140return self.IndexOf(item, startIndex, self.Length - startIndex, EqualityComparer<T>.Default);
152return this.IndexOf(item, startIndex, count, EqualityComparer<T>.Default);
163/// If <c>null</c>, <see cref="EqualityComparer{T}.Default"/> is used.
179equalityComparer ??= EqualityComparer<T>.Default;
180if (equalityComparer == EqualityComparer<T>.Default)
211return self.LastIndexOf(item, self.Length - 1, self.Length, EqualityComparer<T>.Default);
228return self.LastIndexOf(item, startIndex, startIndex + 1, EqualityComparer<T>.Default);
240return this.LastIndexOf(item, startIndex, count, EqualityComparer<T>.Default);
264equalityComparer ??= EqualityComparer<T>.Default;
265if (equalityComparer == EqualityComparer<T>.Default)
299/// If <c>null</c>, <see cref="EqualityComparer{T}.Default"/> is used.
575return this.Replace(oldValue, newValue, EqualityComparer<T>.Default);
585/// If <c>null</c>, <see cref="EqualityComparer{T}.Default"/> is used.
609return this.Remove(item, EqualityComparer<T>.Default);
619/// If <c>null</c>, <see cref="EqualityComparer{T}.Default"/> is used.
675return this.RemoveRange(items, EqualityComparer<T>.Default);
684/// If <c>null</c>, <see cref="EqualityComparer{T}.Default"/> is used.
717return this.RemoveRange(items, EqualityComparer<T>.Default);
System\Collections\Immutable\ImmutableList.cs (9)
103return list.Replace(oldValue, newValue, EqualityComparer<T>.Default);
115return list.Remove(value, EqualityComparer<T>.Default);
129return list.RemoveRange(items, EqualityComparer<T>.Default);
149return list.IndexOf(item, 0, list.Count, EqualityComparer<T>.Default);
195return list.IndexOf(item, startIndex, list.Count - startIndex, EqualityComparer<T>.Default);
223return list.IndexOf(item, startIndex, count, EqualityComparer<T>.Default);
249return list.LastIndexOf(item, list.Count - 1, list.Count, EqualityComparer<T>.Default);
306return list.LastIndexOf(item, startIndex, startIndex + 1, EqualityComparer<T>.Default);
333return list.LastIndexOf(item, startIndex, count, EqualityComparer<T>.Default);
System\Collections\Immutable\ImmutableList_1.Builder.cs (12)
159return this.Root.IndexOf(item, EqualityComparer<T>.Default);
522_root.IndexOf(item, index, this.Count - index, EqualityComparer<T>.Default);
546_root.IndexOf(item, index, count, EqualityComparer<T>.Default);
566/// If <c>null</c>, <see cref="EqualityComparer{T}.Default"/> is used.
598return _root.LastIndexOf(item, this.Count - 1, this.Count, EqualityComparer<T>.Default);
624return _root.LastIndexOf(item, startIndex, startIndex + 1, EqualityComparer<T>.Default);
645_root.LastIndexOf(item, startIndex, count, EqualityComparer<T>.Default);
748/// If <c>null</c>, <see cref="EqualityComparer{T}.Default"/> is used.
786/// If <c>null</c>, <see cref="EqualityComparer{T}.Default"/> is used.
808this.RemoveRange(items, EqualityComparer<T>.Default);
819this.Replace(oldValue, newValue, EqualityComparer<T>.Default);
829/// If <c>null</c>, <see cref="EqualityComparer{T}.Default"/> is used.
System.Linq (16)
System\Linq\Distinct.cs (2)
37/// <para>The <see cref="DistinctBy{TSource, TKey}(IEnumerable{TSource}, Func{TSource, TKey})" /> method returns an unordered sequence that contains no duplicate values. The default equality comparer, <see cref="EqualityComparer{T}.Default" />, is used to compare values.</para>
51/// <para>The <see cref="DistinctBy{TSource, TKey}(IEnumerable{TSource}, Func{TSource, TKey}, IEqualityComparer{TKey}?)" /> method returns an unordered sequence that contains no duplicate values. If <paramref name="comparer" /> is <see langword="null" />, the default equality comparer, <see cref="EqualityComparer{T}.Default" />, is used to compare values.</para>
System.Linq.Expressions (8)
System.Linq.Parallel (10)
System\Linq\ParallelEnumerable.cs (7)
4377comparer ??= EqualityComparer<TSource>.Default;
4932return ToDictionary(source, keySelector, EqualityComparer<TKey>.Default);
5023return ToDictionary(source, keySelector, elementSelector, EqualityComparer<TKey>.Default);
5115return ToLookup(source, keySelector, EqualityComparer<TKey>.Default);
5144comparer ??= EqualityComparer<TKey>.Default;
5194return ToLookup(source, keySelector, elementSelector, EqualityComparer<TKey>.Default);
5231comparer ??= EqualityComparer<TKey>.Default;
System.Numerics.Tensors (3)
System.ObjectModel (2)
System.Private.CoreLib (129)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Dictionary.cs (13)
67_comparer = comparer ?? EqualityComparer<TKey>.Default;
79comparer != EqualityComparer<TKey>.Default)
204return _comparer ?? EqualityComparer<TKey>.Default;
260if (!Unsafe.IsNullRef(ref value) && EqualityComparer<TValue>.Default.Equals(value, keyValuePair.Value))
271if (!Unsafe.IsNullRef(ref value) && EqualityComparer<TValue>.Default.Equals(value, keyValuePair.Value))
318if (entries![i].next >= -1 && EqualityComparer<TValue>.Default.Equals(entries[i].value, value))
329EqualityComparer<TValue> defaultComparer = EqualityComparer<TValue>.Default;
428if (entry.hashCode == hashCode && EqualityComparer<TKey>.Default.Equals(entry.key, key))
538if (entries[i].hashCode == hashCode && EqualityComparer<TKey>.Default.Equals(entries[i].key, key))
1103if (entries[i].hashCode == hashCode && EqualityComparer<TKey>.Default.Equals(entries[i].key, key))
1320(typeof(TKey).IsValueType && comparer == null ? EqualityComparer<TKey>.Default.Equals(entry.key, key) : comparer!.Equals(entry.key, key)))
1393(typeof(TKey).IsValueType && comparer == null ? EqualityComparer<TKey>.Default.Equals(entry.key, key) : comparer!.Equals(entry.key, key)))
src\libraries\System.Private.CoreLib\src\System\SpanHelpers.T.cs (21)
1063if (!EqualityComparer<T>.Default.Equals(Unsafe.Add(ref searchSpace, i), value0))
1078if (!EqualityComparer<T>.Default.Equals(Unsafe.Add(ref searchSpace, i), value0))
1094if (!EqualityComparer<T>.Default.Equals(current, value0) && !EqualityComparer<T>.Default.Equals(current, value1))
1110if (!EqualityComparer<T>.Default.Equals(current, value0) && !EqualityComparer<T>.Default.Equals(current, value1))
1126if (!EqualityComparer<T>.Default.Equals(current, value0)
1127&& !EqualityComparer<T>.Default.Equals(current, value1)
1128&& !EqualityComparer<T>.Default.Equals(current, value2))
1144if (!EqualityComparer<T>.Default.Equals(current, value0)
1145&& !EqualityComparer<T>.Default.Equals(current, value1)
1146&& !EqualityComparer<T>.Default.Equals(current, value2))
1162if (!EqualityComparer<T>.Default.Equals(current, value0)
1163&& !EqualityComparer<T>.Default.Equals(current, value1)
1164&& !EqualityComparer<T>.Default.Equals(current, value2)
1165&& !EqualityComparer<T>.Default.Equals(current, value3))
1181if (!EqualityComparer<T>.Default.Equals(current, value0)
1182&& !EqualityComparer<T>.Default.Equals(current, value1)
1183&& !EqualityComparer<T>.Default.Equals(current, value2)
1184&& !EqualityComparer<T>.Default.Equals(current, value3))
3087Unsafe.Add(ref dst, idx) = EqualityComparer<T>.Default.Equals(original, oldValue) ? newValue : original;
src\libraries\System.Private.CoreLib\src\System\ValueTuple.cs (36)
310return EqualityComparer<T1>.Default.Equals(Item1, other.Item1);
481return EqualityComparer<T1>.Default.Equals(Item1, other.Item1)
482&& EqualityComparer<T2>.Default.Equals(Item2, other.Item2);
688return EqualityComparer<T1>.Default.Equals(Item1, other.Item1)
689&& EqualityComparer<T2>.Default.Equals(Item2, other.Item2)
690&& EqualityComparer<T3>.Default.Equals(Item3, other.Item3);
893return EqualityComparer<T1>.Default.Equals(Item1, other.Item1)
894&& EqualityComparer<T2>.Default.Equals(Item2, other.Item2)
895&& EqualityComparer<T3>.Default.Equals(Item3, other.Item3)
896&& EqualityComparer<T4>.Default.Equals(Item4, other.Item4);
1116return EqualityComparer<T1>.Default.Equals(Item1, other.Item1)
1117&& EqualityComparer<T2>.Default.Equals(Item2, other.Item2)
1118&& EqualityComparer<T3>.Default.Equals(Item3, other.Item3)
1119&& EqualityComparer<T4>.Default.Equals(Item4, other.Item4)
1120&& EqualityComparer<T5>.Default.Equals(Item5, other.Item5);
1357return EqualityComparer<T1>.Default.Equals(Item1, other.Item1)
1358&& EqualityComparer<T2>.Default.Equals(Item2, other.Item2)
1359&& EqualityComparer<T3>.Default.Equals(Item3, other.Item3)
1360&& EqualityComparer<T4>.Default.Equals(Item4, other.Item4)
1361&& EqualityComparer<T5>.Default.Equals(Item5, other.Item5)
1362&& EqualityComparer<T6>.Default.Equals(Item6, other.Item6);
1616return EqualityComparer<T1>.Default.Equals(Item1, other.Item1)
1617&& EqualityComparer<T2>.Default.Equals(Item2, other.Item2)
1618&& EqualityComparer<T3>.Default.Equals(Item3, other.Item3)
1619&& EqualityComparer<T4>.Default.Equals(Item4, other.Item4)
1620&& EqualityComparer<T5>.Default.Equals(Item5, other.Item5)
1621&& EqualityComparer<T6>.Default.Equals(Item6, other.Item6)
1622&& EqualityComparer<T7>.Default.Equals(Item7, other.Item7);
1899return EqualityComparer<T1>.Default.Equals(Item1, other.Item1)
1900&& EqualityComparer<T2>.Default.Equals(Item2, other.Item2)
1901&& EqualityComparer<T3>.Default.Equals(Item3, other.Item3)
1902&& EqualityComparer<T4>.Default.Equals(Item4, other.Item4)
1903&& EqualityComparer<T5>.Default.Equals(Item5, other.Item5)
1904&& EqualityComparer<T6>.Default.Equals(Item6, other.Item6)
1905&& EqualityComparer<T7>.Default.Equals(Item7, other.Item7)
1906&& EqualityComparer<TRest>.Default.Equals(Rest, other.Rest);
System.ServiceModel.Primitives (4)
System.Text.Json (4)
System.Text.Json.SourceGeneration (1)
System.Text.RegularExpressions (4)
System.Windows.Forms.Primitives.TestUtilities (4)
System.Xaml (21)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Utility\FrugalList.cs (21)
266return EqualityComparer<T>.Default.Equals(_loneEntry, value);
271if (EqualityComparer<T>.Default.Equals(_loneEntry, value))
299if (EqualityComparer<T>.Default.Equals(_loneEntry, value))
432if (EqualityComparer<T>.Default.Equals(_entry0, value))
438if (EqualityComparer<T>.Default.Equals(_entry1, value))
442if ((3 == _count) && EqualityComparer<T>.Default.Equals(_entry2, value))
508if (EqualityComparer<T>.Default.Equals(_entry0, value))
515if (EqualityComparer<T>.Default.Equals(_entry1, value))
520else if ((3 == _count) && EqualityComparer<T>.Default.Equals(_entry2, value))
769if (EqualityComparer<T>.Default.Equals(_entry0, value))
775if (EqualityComparer<T>.Default.Equals(_entry1, value))
781if (EqualityComparer<T>.Default.Equals(_entry2, value))
787if (EqualityComparer<T>.Default.Equals(_entry3, value))
793if (EqualityComparer<T>.Default.Equals(_entry4, value))
797if ((6 == _count) && EqualityComparer<T>.Default.Equals(_entry5, value))
902if (EqualityComparer<T>.Default.Equals(_entry0, value))
909if (EqualityComparer<T>.Default.Equals(_entry1, value))
916if (EqualityComparer<T>.Default.Equals(_entry2, value))
923if (EqualityComparer<T>.Default.Equals(_entry3, value))
930if (EqualityComparer<T>.Default.Equals(_entry4, value))
935else if ((6 == _count) && EqualityComparer<T>.Default.Equals(_entry5, value))
Templates.Blazor.Tests (2)
Templates.Blazor.WebAssembly.Auth.Tests (2)
Templates.Blazor.WebAssembly.Tests (2)
Templates.Mvc.Tests (2)
Templates.Tests (2)
xunit.assert (8)