90 implementations of IEqualityComparer
mscorlib (5)
system\collections\generic\equalitycomparer.cs (2)
24public abstract class EqualityComparer<T> : IEqualityComparer, IEqualityComparer<T> 496internal sealed class RandomizedStringEqualityComparer : IEqualityComparer<String>, IEqualityComparer, IWellKnownStringEqualityComparer
system\resources\__fastresourcecomparer.cs (1)
24internal sealed class FastResourceComparer : IComparer, IEqualityComparer, IComparer<String>, IEqualityComparer<String>
system\runtime\interopservices\windowsruntime\windowsruntimemarshal.cs (1)
383internal class EventCacheKeyEqualityComparer : IEqualityComparer<EventCacheKey>
system\stringcomparer.cs (1)
18public abstract class StringComparer : IComparer, IEqualityComparer, IComparer<string>, IEqualityComparer<string>{
PresentationCore (1)
Core\CSharp\System\Windows\Media\FontEmbeddingManager.cs (1)
132private class UriComparer : IEqualityComparer<Uri>
PresentationFramework (1)
src\Framework\System\Windows\Controls\Primitives\Selector.cs (1)
3009private class ItemInfoEqualityComparer : IEqualityComparer<ItemInfo>
System (2)
compmod\system\collections\generic\sortedset.cs (1)
2411internal class SortedSetEqualityComparer<T> : IEqualityComparer<SortedSet<T>> {
compmod\system\componentmodel\design\ServiceObjectContainer.cs (1)
281private sealed class EmbeddedTypeAwareTypeComparer : IEqualityComparer<Type> {
System.Activities (5)
Microsoft\VisualBasic\Activities\XamlIntegration\VisualBasicExpressionConverter.cs (1)
304class XNamespaceEqualityComparer : IEqualityComparer<XNamespace>
System\Activities\Bookmark.cs (1)
206internal class BookmarkComparer : IEqualityComparer<Bookmark>
System\Activities\DynamicUpdate\DynamicUpdateMapBuilder.cs (1)
163internal class ReferenceEqualityComparer : IEqualityComparer<object>
System\Activities\Expressions\AssemblyNameEqualityComparer.cs (1)
13class AssemblyNameEqualityComparer : IEqualityComparer, IEqualityComparer<AssemblyName>
System\Activities\XamlIntegration\CompiledDataContext.cs (1)
314class ReferenceComparer<T> : IEqualityComparer<T>
System.Activities.Presentation (2)
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\ObjectReferenceEqualityComparer.cs (1)
12internal sealed class ObjectReferenceEqualityComparer<T> : IEqualityComparer<T> where T : class
System.Activities.Presentation\System\Activities\Presentation\Model\WeakKeyDictionary.cs (1)
318private class WeakComparer : IEqualityComparer<WeakKey>
System.Core (3)
Microsoft\Scripting\Utils\ReferenceEqualityComparer.cs (1)
20internal sealed class ReferenceEqualityComparer<T> : IEqualityComparer<T> {
System\Collections\Generic\HashSetEqualityComparer.cs (1)
14internal class HashSetEqualityComparer<T> : IEqualityComparer<HashSet<T>> {
System\Linq\Parallel\Utils\WrapperEqualityComparer.cs (1)
24internal struct WrapperEqualityComparer<T> : IEqualityComparer<Wrapper<T>>
System.Data (4)
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\ObjectReferenceEqualityComparer.cs (1)
12internal sealed class ObjectReferenceEqualityComparer<T> : IEqualityComparer<T> where T : class
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\WeakKeyDictionary.cs (1)
318private class WeakComparer : IEqualityComparer<WeakKey>
fx\src\data\System\Data\Common\ObjectStorage.cs (1)
538private class TempAssemblyComparer : IEqualityComparer<KeyValuePair<Type,XmlRootAttribute>>
fx\src\data\System\Data\DataView.cs (1)
87private sealed class DataRowReferenceComparer : IEqualityComparer<DataRow> {
System.Data.DataSetExtensions (1)
System\Data\DataRowComparer.cs (1)
128public sealed class DataRowComparer<TRow> : IEqualityComparer<TRow> where TRow : DataRow
System.Data.Entity (28)
System\Data\Common\EntitySql\TypeResolver.cs (2)
60private sealed class MetadataMemberNameEqualityComparer : IEqualityComparer<MetadataMember> 295private sealed class TypeUsageStructuralComparer : IEqualityComparer<TypeUsage>
System\Data\Common\Utils\Boolean\Solver.cs (1)
308private class VertexValueComparer : IEqualityComparer<Vertex>
System\Data\Common\Utils\ByValueEqualityComparer.cs (1)
24internal sealed class ByValueEqualityComparer : IEqualityComparer<object>
System\Data\Common\Utils\Pair.cs (1)
84internal class PairComparer : IEqualityComparer<Pair<TFirst, TSecond>>
System\Data\Common\Utils\Set.cs (1)
366private class SetValueComparer : IEqualityComparer<Set<TElement>>
System\Data\Common\Utils\TrailingSpaceComparer.cs (2)
19internal class TrailingSpaceComparer : IEqualityComparer<object> 51internal class TrailingSpaceStringComparer : IEqualityComparer<string>
System\Data\Mapping\StorageEntityContainerMapping.cs (1)
468internal struct InputForComputingCellGroups : IEquatable<InputForComputingCellGroups>, IEqualityComparer<InputForComputingCellGroups>
System\Data\Mapping\Update\Internal\CompositeKey.cs (1)
71private class CompositeKeyComparer : IEqualityComparer<CompositeKey>
System\Data\Mapping\Update\Internal\UpdateCommandOrderer.cs (1)
479private class ForeignKeyValueComparer : IEqualityComparer<ForeignKeyValue>
System\Data\Mapping\ViewGeneration\QueryRewriting\FragmentQuery.cs (1)
143private class FragmentQueryEqualityComparer : IEqualityComparer<FragmentQuery>
System\Data\Mapping\ViewGeneration\QueryRewriting\FragmentQueryProcessor.cs (1)
164private class AttributeSetComparator : IEqualityComparer<HashSet<MemberPath>>
System\Data\Mapping\ViewGeneration\Structures\BoolExpression.cs (1)
441private class BoolComparer : IEqualityComparer<BoolExpression>
System\Data\Mapping\ViewGeneration\Structures\BoolLiteral.cs (2)
120private sealed class BoolLiteralComparer : IEqualityComparer<BoolLiteral> 150private sealed class IdentifierComparer : IEqualityComparer<BoolLiteral>
System\Data\Mapping\ViewGeneration\Structures\Constant.cs (1)
104private class CellConstantComparer : IEqualityComparer<Constant>
System\Data\Mapping\ViewGeneration\Structures\LeafCellTreeNode.cs (1)
292private class LeafCellTreeNodeComparer : IEqualityComparer<LeafCellTreeNode>
System\Data\Mapping\ViewGeneration\Structures\LeftCellWrapper.cs (1)
343private class BoolWrapperComparer : IEqualityComparer<LeftCellWrapper>
System\Data\Mapping\ViewGeneration\Structures\MemberPath.cs (1)
846private sealed class Comparer : IEqualityComparer<MemberPath>
System\Data\Mapping\ViewGeneration\Structures\ProjectedSlot.cs (1)
164private sealed class Comparer : IEqualityComparer<ProjectedSlot>
System\Data\Mapping\ViewGeneration\Validation\ErrorPatternMatcher.cs (1)
780class ConditionComparer : IEqualityComparer<Dictionary<MemberPath, Set<Constant>>>
System\Data\Metadata\DefaultAssemblyResolver.cs (1)
149internal sealed class AssemblyComparer : IEqualityComparer<Assembly>
System\Data\Objects\ObjectStateManager.cs (1)
3766internal sealed class ObjectReferenceEqualityComparer : IEqualityComparer<object>
System\Data\Objects\ObjectStateManagerMetadata.cs (1)
19internal struct EntitySetQualifiedType : IEqualityComparer<EntitySetQualifiedType>
System\Data\Objects\SpanIndex.cs (1)
31sealed private class RowTypeEqualityComparer : IEqualityComparer<RowType>
System\Data\Query\PlanCompiler\TypeUtils.cs (1)
54sealed internal class TypeUsageEqualityComparer : IEqualityComparer<md.TypeUsage>
System\Data\SqlClient\SqlGen\SqlGenerator.cs (1)
2036private class KeyFieldExpressionComparer: IEqualityComparer<DbExpression>
System.Data.Linq (2)
IdentityManager.cs (1)
212internal class Comparer : IEqualityComparer<MultiKey<T1, T2>>, IEqualityComparer {
SqlClient\Common\TypeSystem.cs (1)
232internal struct MetaPosition : IEqualityComparer<MetaPosition>, IEqualityComparer {
System.Data.Services (4)
parent\Client\System\Data\Services\Client\ReferenceEqualityComparer.cs (1)
105internal sealed class ReferenceEqualityComparer<T> : ReferenceEqualityComparer, IEqualityComparer<T>
System\Data\Services\Caching\MetadataCache.cs (1)
136internal class Comparer : IEqualityComparer<MetadataCacheKey>
System\Data\Services\Int32EqualityComparer.cs (1)
21internal class Int32EqualityComparer : IEqualityComparer<int>
System\Data\Services\Providers\BasicExpandProvider.cs (1)
538public class ProjectedPropertyEqualityComparer : IEqualityComparer<ProjectedProperty>
System.Data.Services.Client (4)
System\Data\Services\Client\ALinq\ResourceBinder.cs (1)
2375private sealed class PropertyInfoEqualityComparer : IEqualityComparer<PropertyInfo>
System\Data\Services\Client\ClientType.cs (1)
1054private sealed class TypeNameEqualityComparer : IEqualityComparer<TypeName>
System\Data\Services\Client\LinkDescriptor.cs (1)
105private sealed class Equivalent : System.Collections.Generic.IEqualityComparer<LinkDescriptor>
System\Data\Services\Client\ReferenceEqualityComparer.cs (1)
105internal sealed class ReferenceEqualityComparer<T> : ReferenceEqualityComparer, IEqualityComparer<T>
System.Data.Services.Design (1)
System\Data\EntityModel\Emitters\ClientApiGenerator.cs (1)
870public class EqualityComparerEntitySet : IEqualityComparer<EntitySetBase>
System.IdentityModel (3)
System\IdentityModel\Claims\ClaimComparer.cs (1)
15class ClaimComparer : IEqualityComparer<Claim>
System\IdentityModel\Tokens\ConfigurationBasedIssuerNameRegistry.cs (1)
203class ThumbprintKeyComparer : IEqualityComparer<string>
System\IdentityModel\Tokens\SamlAttributeKeyComparer.cs (1)
12internal class SamlAttributeKeyComparer : IEqualityComparer<SamlAttributeKeyComparer.AttributeKey>
System.Runtime.Serialization (1)
System\Runtime\Serialization\DataContract.cs (1)
2679class TypeHandleRefEqualityComparer : IEqualityComparer<TypeHandleRef>
System.ServiceModel (9)
System\ServiceModel\ChannelFactoryRefCache.cs (1)
67class EndpointTraitComparer : IEqualityComparer<EndpointTrait<TChannel>>
System\ServiceModel\Description\DataContractSerializerOperationGenerator.cs (1)
238class CodeTypeReferenceComparer : IEqualityComparer<CodeTypeReference>
System\ServiceModel\Description\ServiceContractGenerator.cs (1)
681class MessageDescriptionComparer : IEqualityComparer<MessageDescription>
System\ServiceModel\Dispatcher\EndpointAddressProcessor.cs (1)
279internal class QNameKeyComparer : IComparer<QName>, IEqualityComparer<QName>
System\ServiceModel\Dispatcher\OperationFormatter.cs (1)
886internal class QNameComparer : IEqualityComparer<QName>
System\ServiceModel\Security\IdentityModelServiceAuthorizationManager.cs (1)
723class ClaimStringValueComparer : IEqualityComparer<System.IdentityModel.Claims.Claim>
System\ServiceModel\Security\InMemoryNonceCache.cs (1)
92internal sealed class NonceKeyComparer : IEqualityComparer, System.Collections.Generic.IEqualityComparer<byte[]>
System\UriTemplateEquivalenceComparer.cs (1)
14public class UriTemplateEquivalenceComparer : IEqualityComparer<UriTemplate>
System\UriTemplateHelpers.cs (1)
372class UriTemplateQueryKeyComparer : IEqualityComparer<string>
System.Web (2)
UI\EventValidationStore.cs (1)
136private sealed class HashEqualityComparer : IEqualityComparer<byte[]> {
UI\WebParts\PersonalizationStateInfoCollection.cs (1)
181private sealed class KeyComparer : IEqualityComparer<Key> {
System.Web.DataVisualization (1)
Common\General\Chart.cs (1)
4323internal class EqualityComparer : IEqualityComparer<KeyInfo>
System.Windows.Forms.DataVisualization (1)
Common\General\Chart.cs (1)
4323internal class EqualityComparer : IEqualityComparer<KeyInfo>
System.Workflow.Runtime (1)
parent\Common\Shared\DigestComparer.cs (1)
6internal class DigestComparer : IComparer<byte[]>, IEqualityComparer<byte[]>
System.Xml (1)
System\Xml\Core\SecureStringHasher.cs (1)
23internal class SecureStringHasher : IEqualityComparer<String> {
System.Xml.Linq (2)
System\Xml\Linq\XLinq.cs (1)
2087IEqualityComparer<XNode>
System\Xml\Linq\XNodeValidator.cs (1)
311internal class XmlSchemaInfoEqualityComparer : IEqualityComparer<XmlSchemaInfo>
WindowsBase (6)
Base\MS\Internal\ComponentModel\PropertyDescriptorComparer.cs (1)
11internal class PropertyDescriptorComparer : IEqualityComparer<PropertyDescriptor>
Base\MS\Internal\ComponentModel\ReferenceEqualityComparer.cs (1)
11internal class ReferenceEqualityComparer : IEqualityComparer<object>
Base\MS\Internal\ContentType.cs (2)
323internal class StrongComparer : IEqualityComparer<ContentType> 352internal class WeakComparer : IEqualityComparer<ContentType>
Base\System\IO\Packaging\ZipPackage.cs (1)
834private sealed class ExtensionEqualityComparer : IEqualityComparer<string>
Base\System\Security\RightsManagement\User.cs (1)
280internal sealed class ContentUserComparer : IEqualityComparer<ContentUser>
320 references to IEqualityComparer
mscorlib (29)
system\Collections\Concurrent\ConcurrentDictionary.cs (16)
73internal readonly IEqualityComparer<TKey> m_comparer; // Key equality comparer 75internal Tables(Node[] buckets, object[] locks, int[] countPerLock, IEqualityComparer<TKey> comparer) 89internal IEqualityComparer<TKey> m_comparer; 221public ConcurrentDictionary(IEqualityComparer<TKey> comparer) : this(DefaultConcurrencyLevel, DEFAULT_CAPACITY, true, comparer) { } 240public ConcurrentDictionary(IEnumerable<KeyValuePair<TKey, TValue>> collection, IEqualityComparer<TKey> comparer) 270int concurrencyLevel, IEnumerable<KeyValuePair<TKey, TValue>> collection, IEqualityComparer<TKey> comparer) 317public ConcurrentDictionary(int concurrencyLevel, int capacity, IEqualityComparer<TKey> comparer) 322internal ConcurrentDictionary(int concurrencyLevel, int capacity, bool growLockArray, IEqualityComparer<TKey> comparer) 431IEqualityComparer<TKey> comparer = tables.m_comparer; 506IEqualityComparer<TKey> comparer = tables.m_comparer; 547IEqualityComparer<TValue> valueComparer = EqualityComparer<TValue>.Default; 556IEqualityComparer<TKey> comparer = tables.m_comparer; 816IEqualityComparer<TKey> comparer = tables.m_comparer; 938GrowTable(tables, (IEqualityComparer<TKey>)HashHelpers.GetRandomizedEqualityComparer(comparer), true, m_keyRehashCount); 1770private void GrowTable(Tables tables, IEqualityComparer<TKey> newComparer, bool regenerateHashKeys, int rehashCount) 2202m_comparer = (IEqualityComparer<TKey>)HashHelpers.GetEqualityComparerForSerialization(tables.m_comparer);
system\collections\generic\dictionary.cs (9)
74private IEqualityComparer<TKey> comparer; 89public Dictionary(IEqualityComparer<TKey> comparer): this(0, comparer) {} 91public Dictionary(int capacity, IEqualityComparer<TKey> comparer) { 106public Dictionary(IDictionary<TKey,TValue> dictionary, IEqualityComparer<TKey> comparer): 125public IEqualityComparer<TKey> Comparer { 284info.AddValue(ComparerName, HashHelpers.GetEqualityComparerForSerialization(comparer), typeof(IEqualityComparer<TKey>)); 386comparer = (IEqualityComparer<TKey>) HashHelpers.GetRandomizedEqualityComparer(comparer); 409comparer = (IEqualityComparer<TKey>)siInfo.GetValue(ComparerName, typeof(IEqualityComparer<TKey>));
system\collections\objectmodel\keyedcollection.cs (4)
24IEqualityComparer<TKey> comparer; 31protected KeyedCollection(IEqualityComparer<TKey> comparer): this(comparer, defaultThreshold) {} 34protected KeyedCollection(IEqualityComparer<TKey> comparer, int dictionaryCreationThreshold) { 51public IEqualityComparer<TKey> Comparer {
PresentationCore (4)
Core\CSharp\System\Windows\Media\SolidColorBrush.cs (4)
273public TwoWayDictionary(IEqualityComparer<TKey> keyComparer): this (keyComparer, null) 278public TwoWayDictionary(IEqualityComparer<TValue> valueComparer) : this (null, valueComparer) 283public TwoWayDictionary(IEqualityComparer<TKey> keyComparer, IEqualityComparer<TValue> valueComparer)
PresentationFramework (6)
src\Framework\MS\Internal\Data\CommitManager.cs (1)
173public Set(IEqualityComparer<T> comparer)
src\Framework\System\Windows\Controls\Primitives\Selector.cs (5)
2725internal InternalSelectedItemsStorage(int capacity, IEqualityComparer<ItemInfo> equalityComparer) 2732internal InternalSelectedItemsStorage(InternalSelectedItemsStorage collection, IEqualityComparer<ItemInfo> equalityComparer=null) 2964private IEqualityComparer<ItemInfo> _equalityComparer; 3016bool IEqualityComparer<ItemInfo>.Equals(ItemInfo x, ItemInfo y) 3023int IEqualityComparer<ItemInfo>.GetHashCode(ItemInfo x)
System (6)
compmod\system\collections\generic\sortedset.cs (6)
899public static IEqualityComparer<SortedSet<T>> CreateSetComparer() { 908public static IEqualityComparer<SortedSet<T>> CreateSetComparer(IEqualityComparer<T> memberEqualityComparer) { 2413private IEqualityComparer<T> e_comparer; 2419public SortedSetEqualityComparer(IEqualityComparer<T> memberEqualityComparer) : this(null, memberEqualityComparer) { } 2425public SortedSetEqualityComparer(IComparer<T> comparer, IEqualityComparer<T> memberEqualityComparer) {
System.Activities (9)
Microsoft\VisualBasic\Activities\VisualBasicHelper.cs (2)
1539static IEqualityComparer<HashSet<Assembly>> AssemblySetEqualityComparer = HashSet<Assembly>.CreateSetComparer(); 1540static IEqualityComparer<HashSet<string>> NamespaceSetEqualityComparer = HashSet<string>.CreateSetComparer();
Microsoft\VisualBasic\Activities\XamlIntegration\VisualBasicExpressionConverter.cs (2)
309bool IEqualityComparer<XNamespace>.Equals(XNamespace x, XNamespace y) 314int IEqualityComparer<XNamespace>.GetHashCode(XNamespace x)
System\Activities\Bookmark.cs (2)
20static IEqualityComparer<Bookmark> comparer; 53internal static IEqualityComparer<Bookmark> Comparer
System\Activities\DynamicUpdate\DynamicUpdateMapBuilder.cs (1)
165public static readonly IEqualityComparer<object> Instance = new ReferenceEqualityComparer();
System\Activities\XamlIntegration\CompiledDataContext.cs (2)
316bool IEqualityComparer<T>.Equals(T x, T y) 321int IEqualityComparer<T>.GetHashCode(T target)
System.Activities.Presentation (3)
System.Activities.Presentation\System\Activities\Presentation\Model\WeakKeyDictionary.cs (3)
26public WeakKeyDictionary(IEqualityComparer<K> comparer) 321private IEqualityComparer<K> _comparer; 326public WeakComparer(IEqualityComparer<K> comparer)
System.Core (154)
Microsoft\Scripting\Compiler\Set.cs (1)
36internal Set(IEqualityComparer<T> comparer) {
System\Collections\Generic\HashSet.cs (11)
91private IEqualityComparer<T> m_comparer; 107public HashSet(IEqualityComparer<T> comparer) { 129public HashSet(IEnumerable<T> collection, IEqualityComparer<T> comparer) 207public HashSet(int capacity, IEqualityComparer<T> comparer) 369info.AddValue(ComparerName, HashHelpers.GetEqualityComparerForSerialization(m_comparer), typeof(IEqualityComparer<T>)); 398m_comparer = (IEqualityComparer<T>)m_siInfo.GetValue(ComparerName, typeof(IEqualityComparer<T>)); 898public IEqualityComparer<T> Comparer { 963public static IEqualityComparer<HashSet<T>> CreateSetComparer() { 1086m_comparer = (IEqualityComparer<T>) HashHelpers.GetRandomizedEqualityComparer(m_comparer); 1465internal static bool HashSetEquals(HashSet<T> set1, HashSet<T> set2, IEqualityComparer<T> comparer) {
System\Collections\Generic\HashSetEqualityComparer.cs (2)
16private IEqualityComparer<T> m_comparer; 22public HashSetEqualityComparer(IEqualityComparer<T> comparer) {
System\Linq\Enumerable.cs (33)
686public static IEnumerable<TResult> Join<TOuter, TInner, TKey, TResult>(this IEnumerable<TOuter> outer, IEnumerable<TInner> inner, Func<TOuter, TKey> outerKeySelector, Func<TInner, TKey> innerKeySelector, Func<TOuter, TInner, TResult> resultSelector, IEqualityComparer<TKey> comparer) { 695static IEnumerable<TResult> JoinIterator<TOuter, TInner, TKey, TResult>(IEnumerable<TOuter> outer, IEnumerable<TInner> inner, Func<TOuter, TKey> outerKeySelector, Func<TInner, TKey> innerKeySelector, Func<TOuter, TInner, TResult> resultSelector, IEqualityComparer<TKey> comparer) { 716public static IEnumerable<TResult> GroupJoin<TOuter, TInner, TKey, TResult>(this IEnumerable<TOuter> outer, IEnumerable<TInner> inner, Func<TOuter, TKey> outerKeySelector, Func<TInner, TKey> innerKeySelector, Func<TOuter, IEnumerable<TInner>, TResult> resultSelector, IEqualityComparer<TKey> comparer) { 725static IEnumerable<TResult> GroupJoinIterator<TOuter, TInner, TKey, TResult>(IEnumerable<TOuter> outer, IEnumerable<TInner> inner, Func<TOuter, TKey> outerKeySelector, Func<TInner, TKey> innerKeySelector, Func<TOuter, IEnumerable<TInner>, TResult> resultSelector, IEqualityComparer<TKey> comparer) { 772public static IEnumerable<IGrouping<TKey, TSource>> GroupBy<TSource, TKey>(this IEnumerable<TSource> source, Func<TSource, TKey> keySelector, IEqualityComparer<TKey> comparer) { 780public static IEnumerable<IGrouping<TKey, TElement>> GroupBy<TSource, TKey, TElement>(this IEnumerable<TSource> source, Func<TSource, TKey> keySelector, Func<TSource, TElement> elementSelector, IEqualityComparer<TKey> comparer) { 792public static IEnumerable<TResult> GroupBy<TSource, TKey, TResult>(this IEnumerable<TSource> source, Func<TSource, TKey> keySelector, Func<TKey, IEnumerable<TSource>, TResult> resultSelector, IEqualityComparer<TKey> comparer){ 796public static IEnumerable<TResult> GroupBy<TSource, TKey, TElement, TResult>(this IEnumerable<TSource> source, Func<TSource, TKey> keySelector, Func<TSource, TElement> elementSelector, Func<TKey, IEnumerable<TElement>, TResult> resultSelector, IEqualityComparer<TKey> comparer){ 831public static IEnumerable<TSource> Distinct<TSource>(this IEnumerable<TSource> source, IEqualityComparer<TSource> comparer) { 836static IEnumerable<TSource> DistinctIterator<TSource>(IEnumerable<TSource> source, IEqualityComparer<TSource> comparer) { 848public static IEnumerable<TSource> Union<TSource>(this IEnumerable<TSource> first, IEnumerable<TSource> second, IEqualityComparer<TSource> comparer) 855static IEnumerable<TSource> UnionIterator<TSource>(IEnumerable<TSource> first, IEnumerable<TSource> second, IEqualityComparer<TSource> comparer) 870public static IEnumerable<TSource> Intersect<TSource>(this IEnumerable<TSource> first, IEnumerable<TSource> second, IEqualityComparer<TSource> comparer) 877static IEnumerable<TSource> IntersectIterator<TSource>(IEnumerable<TSource> first, IEnumerable<TSource> second, IEqualityComparer<TSource> comparer) 892public static IEnumerable<TSource> Except<TSource>(this IEnumerable<TSource> first, IEnumerable<TSource> second, IEqualityComparer<TSource> comparer) 899static IEnumerable<TSource> ExceptIterator<TSource>(IEnumerable<TSource> first, IEnumerable<TSource> second, IEqualityComparer<TSource> comparer) { 920public static bool SequenceEqual<TSource>(this IEnumerable<TSource> first, IEnumerable<TSource> second, IEqualityComparer<TSource> comparer) 956public static Dictionary<TKey, TSource> ToDictionary<TSource, TKey>(this IEnumerable<TSource> source, Func<TSource, TKey> keySelector, IEqualityComparer<TKey> comparer) { 964public static Dictionary<TKey, TElement> ToDictionary<TSource, TKey, TElement>(this IEnumerable<TSource> source, Func<TSource, TKey> keySelector, Func<TSource, TElement> elementSelector, IEqualityComparer<TKey> comparer) { 977public static ILookup<TKey, TSource> ToLookup<TSource, TKey>(this IEnumerable<TSource> source, Func<TSource, TKey> keySelector, IEqualityComparer<TKey> comparer) { 985public static ILookup<TKey, TElement> ToLookup<TSource, TKey, TElement>(this IEnumerable<TSource> source, Func<TSource, TKey> keySelector, Func<TSource, TElement> elementSelector, IEqualityComparer<TKey> comparer) { 993public static HashSet<TSource> ToHashSet<TSource>(this IEnumerable<TSource> source, IEqualityComparer<TSource> comparer) { 1370public static bool Contains<TSource>(this IEnumerable<TSource> source, TSource value, IEqualityComparer<TSource> comparer) 2180IEqualityComparer<TKey> comparer; 2185internal static Lookup<TKey, TElement> Create<TSource>(IEnumerable<TSource> source, Func<TSource, TKey> keySelector, Func<TSource, TElement> elementSelector, IEqualityComparer<TKey> comparer) { 2196internal static Lookup<TKey, TElement> CreateForJoin(IEnumerable<TElement> source, Func<TElement, TKey> keySelector, IEqualityComparer<TKey> comparer) { 2205Lookup(IEqualityComparer<TKey> comparer) { 2386IEqualityComparer<TElement> comparer; 2390public Set(IEqualityComparer<TElement> comparer) { 2488IEqualityComparer<TKey> comparer; 2491public GroupedEnumerable(IEnumerable<TSource> source, Func<TSource, TKey> keySelector, Func<TSource, TElement> elementSelector, Func<TKey, IEnumerable<TElement>, TResult> resultSelector, IEqualityComparer<TKey> comparer){ 2518IEqualityComparer<TKey> comparer; 2520public GroupedEnumerable(IEnumerable<TSource> source, Func<TSource, TKey> keySelector, Func<TSource, TElement> elementSelector, IEqualityComparer<TKey> comparer) {
System\Linq\IQueryable.cs (24)
251public static IQueryable<TResult> Join<TOuter, TInner, TKey, TResult>(this IQueryable<TOuter> outer, IEnumerable<TInner> inner, Expression<Func<TOuter, TKey>> outerKeySelector, Expression<Func<TInner, TKey>> innerKeySelector, Expression<Func<TOuter, TInner, TResult>> resultSelector, IEqualityComparer<TKey> comparer) { 272Expression.Constant(comparer, typeof(IEqualityComparer<TKey>)) 301public static IQueryable<TResult> GroupJoin<TOuter, TInner, TKey, TResult>(this IQueryable<TOuter> outer, IEnumerable<TInner> inner, Expression<Func<TOuter, TKey>> outerKeySelector, Expression<Func<TInner, TKey>> innerKeySelector, Expression<Func<TOuter, IEnumerable<TInner>, TResult>> resultSelector, IEqualityComparer<TKey> comparer) { 322Expression.Constant(comparer, typeof(IEqualityComparer<TKey>)) } 533public static IQueryable<IGrouping<TKey, TSource>> GroupBy<TSource, TKey>(this IQueryable<TSource> source, Expression<Func<TSource, TKey>> keySelector, IEqualityComparer<TKey> comparer) { 542new Expression[] { source.Expression, Expression.Quote(keySelector), Expression.Constant(comparer, typeof(IEqualityComparer<TKey>)) } 546public static IQueryable<IGrouping<TKey, TElement>> GroupBy<TSource, TKey, TElement>(this IQueryable<TSource> source, Expression<Func<TSource, TKey>> keySelector, Expression<Func<TSource,TElement>> elementSelector, IEqualityComparer<TKey> comparer) { 557new Expression[] { source.Expression, Expression.Quote(keySelector), Expression.Quote(elementSelector), Expression.Constant(comparer, typeof(IEqualityComparer<TKey>)) } 595public static IQueryable<TResult> GroupBy<TSource, TKey, TResult>(this IQueryable<TSource> source, Expression<Func<TSource, TKey>> keySelector, Expression<Func<TKey, IEnumerable<TSource>, TResult>> resultSelector, IEqualityComparer<TKey> comparer) 607new Expression[] { source.Expression, Expression.Quote(keySelector), Expression.Quote(resultSelector), Expression.Constant(comparer, typeof(IEqualityComparer<TKey>)) } 611public static IQueryable<TResult> GroupBy<TSource, TKey, TElement, TResult>(this IQueryable<TSource> source, Expression<Func<TSource, TKey>> keySelector, Expression<Func<TSource, TElement>> elementSelector, Expression<Func<TKey, IEnumerable<TElement>, TResult>> resultSelector, IEqualityComparer<TKey> comparer) 625new Expression[] { source.Expression, Expression.Quote(keySelector), Expression.Quote(elementSelector), Expression.Quote(resultSelector), Expression.Constant(comparer, typeof(IEqualityComparer<TKey>)) } 640public static IQueryable<TSource> Distinct<TSource>(this IQueryable<TSource> source, IEqualityComparer<TSource> comparer) { 647new Expression[] { source.Expression, Expression.Constant(comparer, typeof(IEqualityComparer<TSource>)) } 692public static IQueryable<TSource> Union<TSource>(this IQueryable<TSource> source1, IEnumerable<TSource> source2, IEqualityComparer<TSource> comparer) { 704Expression.Constant(comparer, typeof(IEqualityComparer<TSource>)) 722public static IQueryable<TSource> Intersect<TSource>(this IQueryable<TSource> source1, IEnumerable<TSource> source2, IEqualityComparer<TSource> comparer) { 734Expression.Constant(comparer, typeof(IEqualityComparer<TSource>)) 752public static IQueryable<TSource> Except<TSource>(this IQueryable<TSource> source1, IEnumerable<TSource> source2, IEqualityComparer<TSource> comparer) { 764Expression.Constant(comparer, typeof(IEqualityComparer<TSource>)) 970public static bool Contains<TSource>(this IQueryable<TSource> source, TSource item, IEqualityComparer<TSource> comparer) { 977new Expression[] { source.Expression, Expression.Constant(item, typeof(TSource)), Expression.Constant(comparer, typeof(IEqualityComparer<TSource>)) } 1005public static bool SequenceEqual<TSource>(this IQueryable<TSource> source1, IEnumerable<TSource> source2, IEqualityComparer<TSource> comparer) { 1017Expression.Constant(comparer, typeof(IEqualityComparer<TSource>))
System\Linq\Parallel\Partitioning\HashRepartitionStream.cs (4)
40private readonly IEqualityComparer<THashKey> m_keyComparer; // The optional key comparison routine. 41private readonly IEqualityComparer<TInputOutput> m_elementComparer; // The optional element comparison routine. 49int partitionsCount, IComparer<TOrderKey> orderKeyComparer, IEqualityComparer<THashKey> hashKeyComparer, 50IEqualityComparer<TInputOutput> elementComparer)
System\Linq\Parallel\Partitioning\OrderedHashRepartitionStream.cs (2)
23IEqualityComparer<THashKey> hashKeyComparer, IEqualityComparer<TInputOutput> elementComparer, CancellationToken cancellationToken)
System\Linq\Parallel\Partitioning\UnorderedHashRepartitionStream.cs (2)
28Func<TInputOutput, THashKey> keySelector, IEqualityComparer<THashKey> keyComparer, IEqualityComparer<TInputOutput> elementComparer,
System\Linq\Parallel\QueryOperators\Binary\ExceptQueryOperator.cs (6)
29private readonly IEqualityComparer<TInputOutput> m_comparer; // An equality comparer. 35internal ExceptQueryOperator(ParallelQuery<TInputOutput> left, ParallelQuery<TInputOutput> right, IEqualityComparer<TInputOutput> comparer) 145private IEqualityComparer<TInputOutput> m_comparer; // A comparer used for equality checks/hash-coding. 157IEqualityComparer<TInputOutput> comparer, 234private IEqualityComparer<TInputOutput> m_comparer; // A comparer used for equality checks/hash-coding. 246IEqualityComparer<TInputOutput> comparer, IComparer<TLeftKey> leftKeyComparer,
System\Linq\Parallel\QueryOperators\Binary\GroupJoinQueryOperator.cs (2)
36private readonly IEqualityComparer<TKey> m_keyComparer; // An optional key comparison object. 46IEqualityComparer<TKey> keyComparer)
System\Linq\Parallel\QueryOperators\Binary\HashJoinQueryOperatorEnumerator.cs (2)
46private readonly IEqualityComparer<THashKey> m_keyComparer; // An optional key comparison object. 69IEqualityComparer<THashKey> keyComparer,
System\Linq\Parallel\QueryOperators\Binary\IntersectQueryOperator.cs (6)
28private readonly IEqualityComparer<TInputOutput> m_comparer; // An equality comparer. 34internal IntersectQueryOperator(ParallelQuery<TInputOutput> left, ParallelQuery<TInputOutput> right, IEqualityComparer<TInputOutput> comparer) 135private IEqualityComparer<TInputOutput> m_comparer; // Comparer to use for equality/hash-coding. 147IEqualityComparer<TInputOutput> comparer, CancellationToken cancellationToken) 238private IEqualityComparer<Wrapper<TInputOutput>> m_comparer; // Comparer to use for equality/hash-coding. 250IEqualityComparer<TInputOutput> comparer, IComparer<TLeftKey> leftKeyComparer,
System\Linq\Parallel\QueryOperators\Binary\JoinQueryOperator.cs (2)
52private readonly IEqualityComparer<TKey> m_keyComparer; // An optional key comparison object. 62IEqualityComparer<TKey> keyComparer)
System\Linq\Parallel\QueryOperators\Binary\UnionQueryOperator.cs (7)
28private readonly IEqualityComparer<TInputOutput> m_comparer; // An equality comparer. 34internal UnionQueryOperator(ParallelQuery<TInputOutput> left, ParallelQuery<TInputOutput> right, IEqualityComparer<TInputOutput> comparer) 196private readonly IEqualityComparer<TInputOutput> m_comparer; 205int partitionIndex, IEqualityComparer<TInputOutput> comparer, 312private IEqualityComparer<TInputOutput> m_comparer; // Comparer for the elements. 322bool leftOrdered, bool rightOrdered, IEqualityComparer<TInputOutput> comparer, IComparer<ConcatKey<TLeftKey, TRightKey>> keyComparer, 355IEqualityComparer<Wrapper<TInputOutput>> wrapperComparer = new WrapperEqualityComparer<TInputOutput>(m_comparer);
System\Linq\Parallel\QueryOperators\Unary\ContainsSearchOperator.cs (4)
30private readonly IEqualityComparer<TInput> m_comparer; // The comparer to use for equality tests. 41internal ContainsSearchOperator(IEnumerable<TInput> child, TInput searchValue, IEqualityComparer<TInput> comparer) 143private readonly IEqualityComparer<TInput> m_comparer; // The comparer to use for equality tests. 153IEqualityComparer<TInput> comparer, int partitionIndex, Shared<bool> resultFoundFlag,
System\Linq\Parallel\QueryOperators\Unary\DistinctQueryOperator.cs (4)
29private readonly IEqualityComparer<TInputOutput> m_comparer; // An (optional) equality comparer. 35internal DistinctQueryOperator(IEnumerable<TInputOutput> source, IEqualityComparer<TInputOutput> comparer) 136QueryOperatorEnumerator<Pair<TInputOutput, NoKeyMemoizationRequired>, TKey> source, IEqualityComparer<TInputOutput> comparer, 212IEqualityComparer<TInputOutput> comparer, IComparer<TKey> keyComparer,
System\Linq\Parallel\QueryOperators\Unary\GroupByQueryOperator.cs (10)
38private readonly IEqualityComparer<TGroupKey> m_keyComparer; // An optional key comparison object. 57IEqualityComparer<TGroupKey> keyComparer) 232protected readonly IEqualityComparer<TGroupKey> m_keyComparer; // A key comparer. 248IEqualityComparer<TGroupKey> keyComparer, CancellationToken cancellationToken) 319IEqualityComparer<TGroupKey> keyComparer, CancellationToken cancellationToken) 381IEqualityComparer<TGroupKey> keyComparer, Func<TSource, TElement> elementSelector, CancellationToken cancellationToken) : 438protected readonly IEqualityComparer<TGroupKey> m_keyComparer; // The key comparison routine. 454Func<TSource, TGroupKey> keySelector, IEqualityComparer<TGroupKey> keyComparer, IComparer<TOrderKey> orderComparer, 551Func<TSource, TGroupKey> keySelector, IEqualityComparer<TGroupKey> keyComparer, IComparer<TOrderKey> orderComparer, 625Func<TSource, TGroupKey> keySelector, Func<TSource, TElement> elementSelector, IEqualityComparer<TGroupKey> keyComparer, IComparer<TOrderKey> orderComparer,
System\Linq\Parallel\Utils\ExchangeUtilities.cs (4)
98PartitionedStream<TElement, TIgnoreKey> source, Func<TElement, THashKey> keySelector, IEqualityComparer<THashKey> keyComparer, 99IEqualityComparer<TElement> elementComparer, CancellationToken cancellationToken) 106PartitionedStream<TElement, TOrderKey> source, Func<TElement, THashKey> keySelector, IEqualityComparer<THashKey> keyComparer, 107IEqualityComparer<TElement> elementComparer, CancellationToken cancellationToken)
System\Linq\Parallel\Utils\HashLookup.cs (2)
30IEqualityComparer<TKey> comparer; 36internal HashLookup(IEqualityComparer<TKey> comparer)
System\Linq\Parallel\Utils\Lookup.cs (2)
44private IEqualityComparer<TKey> m_comparer; 47internal Lookup(IEqualityComparer<TKey> comparer)
System\Linq\Parallel\Utils\WrapperEqualityComparer.cs (2)
26private IEqualityComparer<T> m_comparer; 28internal WrapperEqualityComparer(IEqualityComparer<T> comparer)
System\Linq\ParallelEnumerable.cs (22)
802Func<TOuter, TInner, TResult> resultSelector, IEqualityComparer<TKey> comparer) 839Func<TOuter, TInner, TResult> resultSelector, IEqualityComparer<TKey> comparer) 936Func<TOuter, IEnumerable<TInner>, TResult> resultSelector, IEqualityComparer<TKey> comparer) 974Func<TOuter, IEnumerable<TInner>, TResult> resultSelector, IEqualityComparer<TKey> comparer) 1367this ParallelQuery<TSource> source, Func<TSource, TKey> keySelector, IEqualityComparer<TKey> comparer) 1421this ParallelQuery<TSource> source, Func<TSource, TKey> keySelector, Func<TSource, TElement> elementSelector, IEqualityComparer<TKey> comparer) 1492this ParallelQuery<TSource> source, Func<TSource, TKey> keySelector, Func<TKey, IEnumerable<TSource>, TResult> resultSelector, IEqualityComparer<TKey> comparer) 1553this ParallelQuery<TSource> source, Func<TSource, TKey> keySelector, Func<TSource, TElement> elementSelector, Func<TKey, IEnumerable<TElement>, TResult> resultSelector, IEqualityComparer<TKey> comparer) 4100public static bool Contains<TSource>(this ParallelQuery<TSource> source, TSource value, IEqualityComparer<TSource> comparer) 4397public static bool SequenceEqual<TSource>(this ParallelQuery<TSource> first, ParallelQuery<TSource> second, IEqualityComparer<TSource> comparer) 4488public static bool SequenceEqual<TSource>(this ParallelQuery<TSource> first, IEnumerable<TSource> second, IEqualityComparer<TSource> comparer) 4525this ParallelQuery<TSource> source, IEqualityComparer<TSource> comparer) 4586this ParallelQuery<TSource> first, ParallelQuery<TSource> second, IEqualityComparer<TSource> comparer) 4612this ParallelQuery<TSource> first, IEnumerable<TSource> second, IEqualityComparer<TSource> comparer) 4681this ParallelQuery<TSource> first, ParallelQuery<TSource> second, IEqualityComparer<TSource> comparer) 4707this ParallelQuery<TSource> first, IEnumerable<TSource> second, IEqualityComparer<TSource> comparer) 4777this ParallelQuery<TSource> first, ParallelQuery<TSource> second, IEqualityComparer<TSource> comparer) 4803this ParallelQuery<TSource> first, IEnumerable<TSource> second, IEqualityComparer<TSource> comparer) 4998this ParallelQuery<TSource> source, Func<TSource, TKey> keySelector, IEqualityComparer<TKey> comparer) 5100this ParallelQuery<TSource> source, Func<TSource, TKey> keySelector, Func<TSource, TElement> elementSelector, IEqualityComparer<TKey> comparer) 5187this ParallelQuery<TSource> source, Func<TSource, TKey> keySelector, IEqualityComparer<TKey> comparer) 5273this ParallelQuery<TSource> source, Func<TSource, TKey> keySelector, Func<TSource, TElement> elementSelector, IEqualityComparer<TKey> comparer)
System.Data (4)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\WeakKeyDictionary.cs (3)
26public WeakKeyDictionary(IEqualityComparer<K> comparer) 321private IEqualityComparer<K> _comparer; 326public WeakComparer(IEqualityComparer<K> comparer)
fx\src\data\System\Data\Common\ObjectStorage.cs (1)
540internal static readonly IEqualityComparer<KeyValuePair<Type,XmlRootAttribute>> Default = new TempAssemblyComparer();
System.Data.Entity (44)
System\Data\Common\EntitySql\StaticContext.cs (3)
29internal Scope(IEqualityComparer<string> keyComparer) 429private readonly IEqualityComparer<string> _keyComparer; 435internal ScopeManager(IEqualityComparer<string> keyComparer)
System\Data\Common\EntitySql\TypeResolver.cs (3)
55internal static IEqualityComparer<MetadataMember> CreateMetadataMemberNameEqualityComparer(StringComparer stringComparer) 69bool IEqualityComparer<MetadataMember>.Equals(MetadataMember x, MetadataMember y) 75int IEqualityComparer<MetadataMember>.GetHashCode(MetadataMember obj)
System\Data\Common\Internal\Materialization\Translator.cs (1)
556private static readonly MethodInfo IEqualityComparerOfString_Equals = typeof(IEqualityComparer<String>).GetMethod("Equals", new Type[] { typeof(string), typeof(string) });
System\Data\Common\Utils\Boolean\BoolExpr.cs (2)
244private readonly IEqualityComparer<T_Identifier> _comparer; 252internal TermExpr(IEqualityComparer<T_Identifier> comparer, T_Identifier identifier)
System\Data\Common\Utils\Boolean\DomainConstraint.cs (2)
28private readonly IEqualityComparer<T_Variable> _identifierComparer; 36internal DomainVariable(T_Variable identifier, Set<T_Element> domain, IEqualityComparer<T_Variable> identifierComparer)
System\Data\Common\Utils\Helpers.cs (1)
43internal static bool IsSetEqual<Type>(IEnumerable<Type> list1, IEnumerable<Type> list2, IEqualityComparer<Type> comparer)
System\Data\Common\Utils\KeyToListMap.cs (1)
28internal KeyToListMap(IEqualityComparer<TKey> comparer) {
System\Data\Common\Utils\Memoizer.cs (1)
32internal Memoizer(Func<TArg, TResult> function, IEqualityComparer<TArg> argComparer)
System\Data\Common\Utils\Set.cs (6)
27internal static readonly IEqualityComparer<Set<TElement>> ValueComparer = 67internal Set(IEqualityComparer<TElement> comparer) 75internal Set(IEnumerable<TElement> elements, IEqualityComparer<TElement> comparer) 98internal IEqualityComparer<TElement> Comparer 368bool IEqualityComparer<Set<TElement>>.Equals(Set<TElement> x, Set<TElement> y) 374int IEqualityComparer<Set<TElement>>.GetHashCode(Set<TElement> obj)
System\Data\Common\Utils\TrailingSpaceComparer.cs (3)
23private readonly static IEqualityComparer<object> s_template = EqualityComparer<object>.Default; 24bool IEqualityComparer<object>.Equals(object x, object y) 37int IEqualityComparer<object>.GetHashCode(object obj)
System\Data\Mapping\Update\Internal\CompositeKey.cs (1)
46internal static IEqualityComparer<CompositeKey> CreateComparer(KeyManager keyManager)
System\Data\Mapping\Update\Internal\Graph.cs (2)
38internal Graph(IEqualityComparer<TVertex> comparer) 64private readonly IEqualityComparer<TVertex> m_comparer;
System\Data\Mapping\Update\Internal\UndirectedGraph.cs (2)
18internal UndirectedGraph(IEqualityComparer<TVertex> comparer) { 26private IEqualityComparer<TVertex> m_comparer;
System\Data\Mapping\Update\Internal\UpdateCommandOrderer.cs (2)
481private readonly IEqualityComparer<CompositeKey> _baseComparer; 483internal ForeignKeyValueComparer(IEqualityComparer<CompositeKey> baseComparer)
System\Data\Mapping\Update\Internal\UpdateTranslator.cs (1)
156internal readonly IEqualityComparer<CompositeKey> KeyComparer;
System\Data\Mapping\ViewGeneration\QueryRewriting\FragmentQuery.cs (1)
133internal static IEqualityComparer<FragmentQuery> GetEqualityComparer(FragmentQueryProcessor qp)
System\Data\Mapping\ViewGeneration\Structures\BoolExpression.cs (1)
143internal static readonly IEqualityComparer<BoolExpression> EqualityComparer = new BoolComparer();
System\Data\Mapping\ViewGeneration\Structures\BoolLiteral.cs (2)
33internal static readonly IEqualityComparer<BoolLiteral> EqualityComparer = new BoolLiteralComparer(); 34internal static readonly IEqualityComparer<BoolLiteral> EqualityIdentifierComparer = new IdentifierComparer();
System\Data\Mapping\ViewGeneration\Structures\Constant.cs (1)
27internal static readonly IEqualityComparer<Constant> EqualityComparer = new CellConstantComparer();
System\Data\Mapping\ViewGeneration\Structures\LeafCellTreeNode.cs (1)
49internal static readonly IEqualityComparer<LeafCellTreeNode> EqualityComparer = new LeafCellTreeNodeComparer();
System\Data\Mapping\ViewGeneration\Structures\LeftCellWrapper.cs (1)
43internal static readonly IEqualityComparer<LeftCellWrapper> BoolEqualityComparer = new BoolWrapperComparer();
System\Data\Mapping\ViewGeneration\Structures\MemberPath.cs (1)
38internal static readonly IEqualityComparer<MemberPath> EqualityComparer = new Comparer();
System\Data\Mapping\ViewGeneration\Structures\ProjectedSlot.cs (1)
25internal static readonly IEqualityComparer<ProjectedSlot> EqualityComparer = new Comparer();
System\Data\Mapping\ViewGeneration\Validation\KeyConstraint.cs (1)
26internal KeyConstraint(TCellRelation relation, IEnumerable<TSlot> keySlots, IEqualityComparer<TSlot> comparer)
System\Data\Objects\ObjectStateManager.cs (2)
3768bool IEqualityComparer<object>.Equals(object x, object y) 3773int IEqualityComparer<object>.GetHashCode(object obj)
System\Data\Objects\ObjectStateManagerMetadata.cs (1)
21internal static readonly IEqualityComparer<EntitySetQualifiedType> EqualityComparer = new EntitySetQualifiedType();
System.Data.Linq (10)
IdentityManager.cs (10)
110internal abstract IEqualityComparer<K> Comparer { get; } 117IEqualityComparer<V> comparer; 143internal override IEqualityComparer<V> Comparer { 157IEqualityComparer<MultiKey<V1, V2>> comparer; 193internal override IEqualityComparer<MultiKey<V1, V2>> Comparer { 213IEqualityComparer<T1> comparer1; 214IEqualityComparer<T2> comparer2; 216internal Comparer(IEqualityComparer<T1> comparer1, IEqualityComparer<T2> comparer2) { 253IEqualityComparer<K> comparer;
System.Data.Services.Client (2)
System\Data\Services\Client\ALinq\ResourceBinder.cs (1)
306private static bool CollectionContentsEqual<T>(ICollection<T> left, ICollection<T> right, IEqualityComparer<T> comparer) where T : class
System\Data\Services\Client\LinkDescriptor.cs (1)
23internal static readonly System.Collections.Generic.IEqualityComparer<LinkDescriptor> EquivalenceComparer = new Equivalent();
System.Data.Services.Design (1)
System\Data\Common\Utils\Memoizer.cs (1)
32internal Memoizer(Func<TArg, TResult> function, IEqualityComparer<TArg> argComparer)
System.IdentityModel (22)
System\IdentityModel\BoundedCache.cs (1)
43public BoundedCache(int capacity, TimeSpan purgeInterval, IEqualityComparer<string> keyComparer)
System\IdentityModel\Claims\Claim.cs (3)
48IEqualityComparer<Claim> comparer; 50Claim(string claimType, object resource, string right, IEqualityComparer<Claim> comparer) 71public static IEqualityComparer<Claim> DefaultComparer
System\IdentityModel\Claims\ClaimComparer.cs (15)
17static IEqualityComparer<Claim> defaultComparer; 18static IEqualityComparer<Claim> hashComparer; 19static IEqualityComparer<Claim> dnsComparer; 20static IEqualityComparer<Claim> rsaComparer; 21static IEqualityComparer<Claim> thumbprintComparer; 22static IEqualityComparer<Claim> upnComparer; 23static IEqualityComparer<Claim> x500DistinguishedNameComparer; 31public static IEqualityComparer<Claim> GetComparer(string claimType) 50public static IEqualityComparer<Claim> Default 62public static IEqualityComparer<Claim> Dns 74public static IEqualityComparer<Claim> Hash 86public static IEqualityComparer<Claim> Rsa 98public static IEqualityComparer<Claim> Thumbprint 110public static IEqualityComparer<Claim> Upn 122public static IEqualityComparer<Claim> X500DistinguishedName
System\IdentityModel\Claims\ClaimSet.cs (1)
70public virtual bool ContainsClaim(Claim claim, IEqualityComparer<Claim> comparer)
System\IdentityModel\Tokens\MruSessionSecurityTokenCache.cs (2)
65public MruSessionSecurityTokenCache(int maximumSize, IEqualityComparer<SessionSecurityTokenCacheKey> comparer) 89public MruSessionSecurityTokenCache(int sizeAfterPurge, int maximumSize, IEqualityComparer<SessionSecurityTokenCacheKey> comparer)
System.ServiceModel (9)
System\ServiceModel\Description\ServiceContractGenerator.cs (2)
686bool IEqualityComparer<MessageDescription>.Equals(MessageDescription x, MessageDescription y) 712int IEqualityComparer<MessageDescription>.GetHashCode(MessageDescription obj)
System\ServiceModel\EndpointIdentity.cs (3)
32IEqualityComparer<Claim> claimComparer; 46protected void Initialize(Claim identityClaim, IEqualityComparer<Claim> claimComparer) 186IEqualityComparer<Claim> GetClaimComparer()
System\ServiceModel\SynchronizedKeyedCollection.cs (3)
16IEqualityComparer<K> comparer; 34protected SynchronizedKeyedCollection(object syncRoot, IEqualityComparer<K> comparer) 44protected SynchronizedKeyedCollection(object syncRoot, IEqualityComparer<K> comparer, int dictionaryCreationThreshold)
System\UriTemplateHelpers.cs (1)
130public static IEqualityComparer<string> GetQueryKeyComparer()
System.ServiceModel.Activation (1)
System\ServiceModel\Activation\CollectibleLRUCache.cs (1)
61public CollectibleLRUCache(int capacity, IEqualityComparer<TKey> comparer)
System.ServiceModel.Internals (2)
System\Runtime\Collections\ObjectCache.cs (1)
37public ObjectCache(ObjectCacheSettings settings, IEqualityComparer<TKey> comparer)
System\Runtime\MruCache.cs (1)
32public MruCache(int lowWatermark, int highWatermark, IEqualityComparer<TKey> comparer)
System.Web (3)
UI\WebParts\PersonalizationStateInfoCollection.cs (3)
182internal static readonly IEqualityComparer<Key> Default = new KeyComparer(); 184bool IEqualityComparer<Key>.Equals(Key x, Key y) { 188int IEqualityComparer<Key>.GetHashCode(Key key) {
System.Workflow.Runtime (5)
DebugEngine\DebugController.cs (1)
332this.xomlHashToGuid = new Dictionary<byte[], Guid>((IEqualityComparer<byte[]>)new DigestComparer());
parent\Common\Shared\DigestComparer.cs (2)
19bool IEqualityComparer<byte[]>.Equals(byte[] digest1, byte[] digest2) 30int IEqualityComparer<byte[]>.GetHashCode(byte[] checksumBytes)
WorkflowDefinitionDispenser.cs (2)
573IEqualityComparer<byte[]> comparer = (IEqualityComparer<byte[]>)new DigestComparer();
System.Xml (1)
System\Xml\Resolvers\XmlPreloadedResolver.cs (1)
154public XmlPreloadedResolver(XmlResolver fallbackResolver, XmlKnownDtds preloadedDtds, IEqualityComparer<Uri> uriComparer) {
WindowsBase (5)
Base\MS\Internal\ComponentModel\ReferenceEqualityComparer.cs (1)
13bool IEqualityComparer<object>.Equals(object o1, object o2)
Base\System\IO\Packaging\ZipPackage.cs (2)
836bool IEqualityComparer<string>.Equals(string extensionA, string extensionB) 848int IEqualityComparer<string>.GetHashCode(string extension)
Base\System\Security\RightsManagement\User.cs (2)
282bool IEqualityComparer<ContentUser>.Equals(ContentUser user1, ContentUser user2) 288int IEqualityComparer<ContentUser>.GetHashCode(ContentUser user)