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