194 references to Default
mscorlib (41)
system\array.cs (3)
1375(Contract.Result<int>() >= 0 && Contract.Result<int>() < array.Length && EqualityComparer<T>.Default.Equals(value, array[Contract.Result<int>()]))); 1406return EqualityComparer<T>.Default.IndexOf(array, value, startIndex, count); 1562return EqualityComparer<T>.Default.LastIndexOf(array, value, startIndex, count);
system\Collections\Concurrent\ConcurrentDictionary.cs (6)
177public ConcurrentDictionary() : this(DefaultConcurrencyLevel, DEFAULT_CAPACITY, true, EqualityComparer<TKey>.Default) { } 194public ConcurrentDictionary(int concurrencyLevel, int capacity) : this(concurrencyLevel, capacity, false, EqualityComparer<TKey>.Default) { } 210public ConcurrentDictionary(IEnumerable<KeyValuePair<TKey, TValue>> collection) : this(collection, EqualityComparer<TKey>.Default) { } 454bool valuesMatch = EqualityComparer<TValue>.Default.Equals(oldValue, curr.m_value); 547IEqualityComparer<TValue> valueComparer = EqualityComparer<TValue>.Default; 1427return EqualityComparer<TValue>.Default.Equals(value, keyValuePair.Value);
system\collections\generic\dictionary.cs (4)
94this.comparer = comparer ?? EqualityComparer<TKey>.Default; 201if( i >= 0 && EqualityComparer<TValue>.Default.Equals(entries[i].value, keyValuePair.Value)) { 209if( i >= 0 && EqualityComparer<TValue>.Default.Equals(entries[i].value, keyValuePair.Value)) { 238EqualityComparer<TValue> c = EqualityComparer<TValue>.Default;
system\collections\generic\equalitycomparer.cs (1)
557return EqualityComparer<string>.Default;
system\collections\generic\list.cs (1)
324EqualityComparer<T> c = EqualityComparer<T>.Default;
system\collections\hashtable.cs (3)
1767return (comparer == null || comparer == System.Collections.Generic.EqualityComparer<string>.Default || comparer is IWellKnownStringEqualityComparer); 1772Contract.Assert(comparer == null || comparer == System.Collections.Generic.EqualityComparer<string>.Default || comparer is IWellKnownStringEqualityComparer); 1778if(comparer == System.Collections.Generic.EqualityComparer<string>.Default) {
system\collections\objectmodel\keyedcollection.cs (2)
36comparer = EqualityComparer<TKey>.Default; 102return EqualityComparer<TItem>.Default.Equals(itemInDict, item);
system\nullable.cs (1)
123if (n2.HasValue) return EqualityComparer<T>.Default.Equals(n1.value, n2.value);
system\runtime\compilerservices\AsyncMethodBuilder.cs (1)
716EqualityComparer<TResult>.Default.Equals(result, Contract.Result<Task<TResult>>().Result),
system\runtime\interopservices\windowsruntime\dictionaryvaluecollection.cs (1)
71EqualityComparer<TValue> comparer = EqualityComparer<TValue>.Default;
system\runtime\interopservices\windowsruntime\ireadonlylisttoivectorviewadapter.cs (1)
73if (EqualityComparer<T>.Default.Equals(value, _this[i]))
system\runtime\interopservices\windowsruntime\maptocollectionadapter.cs (1)
129return EqualityComparer<V>.Default.Equals(value, item.Value);
system\tuple.cs (16)
94return ((IStructuralEquatable) this).Equals(obj, EqualityComparer<Object>.Default); 126return ((IStructuralEquatable) this).GetHashCode(EqualityComparer<Object>.Default); 184return ((IStructuralEquatable) this).Equals(obj, EqualityComparer<Object>.Default);; 222return ((IStructuralEquatable) this).GetHashCode(EqualityComparer<Object>.Default); 289return ((IStructuralEquatable) this).Equals(obj, EqualityComparer<Object>.Default);; 331return ((IStructuralEquatable) this).GetHashCode(EqualityComparer<Object>.Default); 405return ((IStructuralEquatable) this).Equals(obj, EqualityComparer<Object>.Default);; 451return ((IStructuralEquatable) this).GetHashCode(EqualityComparer<Object>.Default); 532return ((IStructuralEquatable) this).Equals(obj, EqualityComparer<Object>.Default);; 582return ((IStructuralEquatable) this).GetHashCode(EqualityComparer<Object>.Default); 670return ((IStructuralEquatable) this).Equals(obj, EqualityComparer<Object>.Default);; 724return ((IStructuralEquatable) this).GetHashCode(EqualityComparer<Object>.Default); 819return ((IStructuralEquatable) this).Equals(obj, EqualityComparer<Object>.Default);; 877return ((IStructuralEquatable) this).GetHashCode(EqualityComparer<Object>.Default); 983return ((IStructuralEquatable) this).Equals(obj, EqualityComparer<Object>.Default);; 1045return ((IStructuralEquatable) this).GetHashCode(EqualityComparer<Object>.Default);
System (10)
compmod\system\collections\generic\linkedlist.cs (2)
198EqualityComparer<T> c = EqualityComparer<T>.Default; 225EqualityComparer<T> c = EqualityComparer<T>.Default;
compmod\system\collections\generic\queue.cs (1)
269EqualityComparer<T> c = EqualityComparer<T>.Default;
compmod\system\collections\generic\sorteddictionary.cs (3)
61return EqualityComparer<TValue>.Default.Equals(node.Item.Value, keyValuePair.Value); 71if( EqualityComparer<TValue>.Default.Equals(node.Item.Value, keyValuePair.Value)) { 194EqualityComparer<TValue> valueComparer = EqualityComparer<TValue>.Default;
compmod\system\collections\generic\sortedlist.cs (2)
191if( index >= 0 && EqualityComparer<TValue>.Default.Equals(values[index], keyValuePair.Value)) { 199if( index >= 0 && EqualityComparer<TValue>.Default.Equals(values[index], keyValuePair.Value)) {
compmod\system\collections\generic\sortedset.cs (1)
2431e_comparer = EqualityComparer<T>.Default;
compmod\system\collections\generic\stack.cs (1)
122EqualityComparer<T> c = EqualityComparer<T>.Default;
System.Core (24)
Microsoft\Scripting\Utils\CollectionExtensions.cs (2)
85var cmp = EqualityComparer<T>.Default; 100var cmp = EqualityComparer<T>.Default;
Microsoft\Scripting\Utils\Helpers.cs (1)
31var cmp = EqualityComparer<T>.Default;
Microsoft\Scripting\Utils\ReadOnlyCollectionBuilder.cs (1)
226EqualityComparer<T> c = EqualityComparer<T>.Default;
System\Collections\Generic\HashSet.cs (4)
102: this(EqualityComparer<T>.Default) { } 105: this(capacity, EqualityComparer<T>.Default) { } 109comparer = EqualityComparer<T>.Default; 120: this(collection, EqualityComparer<T>.Default) { }
System\Collections\Generic\HashSetEqualityComparer.cs (2)
19m_comparer = EqualityComparer<T>.Default; 24m_comparer = EqualityComparer<T>.Default;
System\Linq\Enumerable.cs (4)
922if (comparer == null) comparer = EqualityComparer<TSource>.Default; 1372if (comparer == null) comparer = EqualityComparer<TSource>.Default; 2206if (comparer == null) comparer = EqualityComparer<TKey>.Default; 2391if (comparer == null) comparer = EqualityComparer<TElement>.Default;
System\Linq\Parallel\QueryOperators\Binary\UnionQueryOperator.cs (1)
338m_comparer = EqualityComparer<TInputOutput>.Default;
System\Linq\Parallel\QueryOperators\Unary\ContainsSearchOperator.cs (1)
50m_comparer = EqualityComparer<TInput>.Default;
System\Linq\Parallel\Utils\WrapperEqualityComparer.cs (1)
32m_comparer = EqualityComparer<T>.Default;
System\Linq\ParallelEnumerable.cs (7)
4403comparer = comparer ?? EqualityComparer<TSource>.Default; 4971return ToDictionary(source, keySelector, EqualityComparer<TKey>.Default); 5067return ToDictionary(source, keySelector, elementSelector, EqualityComparer<TKey>.Default); 5164return ToLookup(source, keySelector, EqualityComparer<TKey>.Default); 5193 comparer = comparer ?? EqualityComparer<TKey>.Default; 5243return ToLookup(source, keySelector, elementSelector, EqualityComparer<TKey>.Default); 5280 comparer = comparer ?? EqualityComparer<TKey>.Default;
System.Data.Entity (56)
System\Data\Common\Utils\Boolean\BoolExpr.cs (1)
257if (null == comparer) { _comparer = EqualityComparer<T_Identifier>.Default; }
System\Data\Common\Utils\Boolean\DomainConstraint.cs (1)
41_identifierComparer = identifierComparer ?? EqualityComparer<T_Variable>.Default;
System\Data\Common\Utils\Pair.cs (2)
89private static readonly EqualityComparer<TFirst> firstComparer = EqualityComparer<TFirst>.Default; 90private static readonly EqualityComparer<TSecond> secondComparer = EqualityComparer<TSecond>.Default;
System\Data\Common\Utils\Set.cs (1)
79comparer ?? EqualityComparer<TElement>.Default);
System\Data\Common\Utils\TrailingSpaceComparer.cs (1)
23private readonly static IEqualityComparer<object> s_template = EqualityComparer<object>.Default;
System\Data\EntityModel\SchemaObjectModel\Schema.cs (1)
1203new Memoizer<SchemaDataModelOption, XmlSchemaSet>(ComputeSchemaSet, EqualityComparer<SchemaDataModelOption>.Default);
System\Data\Mapping\FunctionImportMapping.cs (4)
90m_entityTypeLineInfos = new KeyToListMap<EntityType, LineInfo>(EqualityComparer<EntityType>.Default); 91m_isTypeOfLineInfos = new KeyToListMap<EntityType, LineInfo>(EqualityComparer<EntityType>.Default); 482entityTypes = new KeyToListMap<EntityType, LineInfo>(EqualityComparer<EntityType>.Default); 483isTypeOfEntityTypes = new KeyToListMap<EntityType, LineInfo>(EqualityComparer<EntityType>.Default);
System\Data\Mapping\FunctionImportMapping.ReturnTypeRenameMapping.cs (1)
192this.GetRename, EqualityComparer<StructuralType>.Default);
System\Data\Mapping\StorageComplexTypeMapping.cs (1)
34Dictionary<EdmProperty, StoragePropertyMapping> m_conditionProperties = new Dictionary<EdmProperty, StoragePropertyMapping>(EqualityComparer<EdmProperty>.Default); //Condition property mappings for this complex type
System\Data\Mapping\StorageMappingFragment.cs (1)
89Dictionary<EdmProperty, StoragePropertyMapping> m_conditionProperties = new Dictionary<EdmProperty, StoragePropertyMapping>(EqualityComparer<EdmProperty>.Default);
System\Data\Mapping\StorageMappingItemCollection.ViewDictionary.cs (1)
64userDefinedQueryViewsDict = new Dictionary<EntitySetBase, GeneratedView>(EqualityComparer<EntitySetBase>.Default);
System\Data\Mapping\StorageMappingItemLoader.cs (2)
630new KeyToListMap<EntitySet, StorageSetMapping>(EqualityComparer<EntitySet>.Default); 3854KeyToListMap<EdmProperty, string> propertyToColumnNamesMap = new KeyToListMap<EdmProperty, string>(EqualityComparer<EdmProperty>.Default);
System\Data\Mapping\Update\Internal\Propagator.ExtentPlaceholderCreator.cs (1)
52EqualityComparer<PrimitiveTypeKind>.Default);
System\Data\Mapping\Update\Internal\Propagator.JoinPropagator.cs (4)
118s_innerJoinInsertRules = new Dictionary<Ops,Ops>(EqualityComparer<Ops>.Default); 119s_innerJoinDeleteRules = new Dictionary<Ops, Ops>(EqualityComparer<Ops>.Default); 120s_leftOuterJoinInsertRules = new Dictionary<Ops, Ops>(EqualityComparer<Ops>.Default); 121s_leftOuterJoinDeleteRules = new Dictionary<Ops, Ops>(EqualityComparer<Ops>.Default);
System\Data\Mapping\Update\Internal\RelationshipConstraintValidator.cs (3)
34m_existingRelationships = new Dictionary<DirectionalRelationship, DirectionalRelationship>(EqualityComparer<DirectionalRelationship>.Default); 35m_impliedRelationships = new Dictionary<DirectionalRelationship, IEntityStateEntry>(EqualityComparer<DirectionalRelationship>.Default); 36m_referencingRelationshipSets = new Dictionary<EntitySet, List<AssociationSet>>(EqualityComparer<EntitySet>.Default);
System\Data\Mapping\Update\Internal\UndirectedGraph.cs (1)
88KeyToListMap<int, TVertex> result = new KeyToListMap<int, TVertex>(EqualityComparer<int>.Default);
System\Data\Mapping\Update\Internal\UpdateCommandOrderer.cs (7)
48: base(EqualityComparer<UpdateCommand>.Default) 85sourceMap = new KeyToListMap<EntitySetBase, ReferentialConstraint>(EqualityComparer<EntitySetBase>.Default); 86targetMap = new KeyToListMap<EntitySetBase, ReferentialConstraint>(EqualityComparer<EntitySetBase>.Default); 334KeyToListMap<EntityKey, UpdateCommand> addedEntities = new KeyToListMap<EntityKey, UpdateCommand>(EqualityComparer<EntityKey>.Default); 335KeyToListMap<EntityKey, UpdateCommand> deletedEntities = new KeyToListMap<EntityKey, UpdateCommand>(EqualityComparer<EntityKey>.Default); 336KeyToListMap<EntityKey, UpdateCommand> addedRelationships = new KeyToListMap<EntityKey, UpdateCommand>(EqualityComparer<EntityKey>.Default); 337KeyToListMap<EntityKey, UpdateCommand> deletedRelationships = new KeyToListMap<EntityKey, UpdateCommand>(EqualityComparer<EntityKey>.Default);
System\Data\Mapping\Update\Internal\ViewLoader.cs (2)
47EqualityComparer<EntitySetBase>.Default); 271EqualityComparer<AssociationSet>.Default);
System\Data\Mapping\ViewGeneration\BasicViewGenerator.cs (6)
125new KeyToListMap<EntitySetBase, LeafCellTreeNode>(EqualityComparer<EntitySetBase>.Default); 307var extentMap = new KeyToListMap<EntitySet, LeafCellTreeNode>(EqualityComparer<EntitySet>.Default); 361var pkFkMap = new KeyToListMap<EntitySet, EntitySet>(EqualityComparer<EntitySet>.Default); 364var extentLOJs = new Dictionary<EntitySet, OpCellTreeNode>(EqualityComparer<EntitySet>.Default); 401var nestedExtents = new Dictionary<EntitySet, EntitySet>(EqualityComparer<EntitySet>.Default); 471if (EqualityComparer<EntitySet>.Default.Equals(parent, child))
System\Data\Mapping\ViewGeneration\CellPartitioner.cs (1)
60UndirectedGraph<Cell> graph = new UndirectedGraph<Cell>(EqualityComparer<Cell>.Default);
System\Data\Mapping\ViewGeneration\CellTreeSimplifier.cs (2)
285new KeyToListMap<EntitySetBase, CellTreeNode>(EqualityComparer<EntitySetBase>.Default); 314new KeyToListMap<EntitySetBase, CellTreeNode>(EqualityComparer<EntitySetBase>.Default);
System\Data\Mapping\ViewGeneration\QueryRewriting\FragmentQueryKB.cs (2)
111if (Helpers.IsSetEqual(toProperties, toEntitySet.ElementType.KeyMembers, EqualityComparer<EdmMember>.Default)) 141if (Helpers.IsSetEqual(toProperties, toEntitySet.ElementType.KeyMembers, EqualityComparer<EdmMember>.Default))
System\Data\Mapping\ViewGeneration\Structures\BoolLiteral.cs (1)
58DomainTermExpr result = new DomainTermExpr(EqualityComparer<DomainConstraint>.Default, constraint);
System\Data\Mapping\ViewGeneration\Structures\LeafCellTreeNode.cs (1)
267if (endStoreMembers.SequenceEqual(keyProperties, EqualityComparer<EdmMember>.Default))
System\Data\Mapping\ViewGeneration\Structures\LeftCellWrapper.cs (2)
206Set<EntitySetBase> extents = new Set<EntitySetBase>(EqualityComparer<EntitySetBase>.Default); 273Set<AssociationEndMember> result = new Set<AssociationEndMember>(EqualityComparer<AssociationEndMember>.Default);
System\Data\Mapping\ViewGeneration\Validation\ForeignConstraint.cs (1)
606if (Helpers.IsSetEqual(columnIndexes, endIndexes, EqualityComparer<int>.Default))
System\Data\Mapping\ViewGeneration\Validator.cs (1)
203new KeyToListMap<ExtentPair, ViewKeyConstraint>(EqualityComparer<ExtentPair>.Default);
System\Data\Mapping\ViewGeneration\ViewGenerator.cs (1)
497new KeyToListMap<EntitySetBase, Cell>(EqualityComparer<EntitySetBase>.Default);
System\Data\Mapping\ViewGeneration\ViewGenResults.cs (1)
28m_views = new KeyToListMap<EntitySetBase, GeneratedView>(EqualityComparer<EntitySetBase>.Default);
System\Data\Metadata\EdmItemCollection.cs (1)
227m => m, EqualityComparer<InitializerMetadata>.Default), null);
System\Data\Metadata\ObjectLayer\MetadataAssemblyHelper.cs (1)
21private static Memoizer<Assembly, bool> _filterAssemblyCacheByAssembly = new Memoizer<Assembly, bool>(MetadataAssemblyHelper.ComputeShouldFilterAssembly, EqualityComparer<Assembly>.Default);
System.Data.Linq (2)
IdentityManager.cs (2)
146this.comparer = EqualityComparer<V>.Default; 196this.comparer = new MultiKey<V1, V2>.Comparer(EqualityComparer<V1>.Default, next.Comparer);
System.Data.Services (32)
System\Data\Services\Caching\MetadataCacheItem.cs (9)
84this.serviceOperations = new Dictionary<string, ServiceOperation>(EqualityComparer<string>.Default); 85this.typeCache = new Dictionary<Type, ResourceType>(EqualityComparer<Type>.Default); 87this.entitySets = new Dictionary<string, ResourceSet>(EqualityComparer<string>.Default); 90this.resourceSetWrapperCache = new Dictionary<string, ResourceSetWrapper>(EqualityComparer<string>.Default); 91this.serviceOperationWrapperCache = new Dictionary<string, ServiceOperationWrapper>(EqualityComparer<string>.Default); 92this.visibleTypeCache = new Dictionary<string, ResourceType>(EqualityComparer<string>.Default); 93this.resourceAssociationSetCache = new Dictionary<string, ResourceAssociationSet>(EqualityComparer<string>.Default); 94this.resourcePropertyCache = new Dictionary<string, List<ResourceProperty>>(EqualityComparer<string>.Default); 95this.entityTypeDisallowedForSet = new Dictionary<string, object>(EqualityComparer<string>.Default);
System\Data\Services\DataServiceConfiguration.cs (6)
137this.resourceRights = new Dictionary<string, EntitySetRights>(EqualityComparer<string>.Default); 138this.serviceRights = new Dictionary<string, ServiceOperationRights>(EqualityComparer<string>.Default); 139this.pageSizes = new Dictionary<string, int>(EqualityComparer<string>.Default); 149this.readAuthorizationMethods = new Dictionary<string, List<MethodInfo>>(EqualityComparer<string>.Default); 150this.writeAuthorizationMethods = new Dictionary<string, List<MethodInfo>>(EqualityComparer<string>.Default); 151this.accessEnabledResourceTypes = new HashSet<string>(EqualityComparer<string>.Default);
System\Data\Services\Providers\DataServiceProviderWrapper.cs (3)
177HashSet<string> resourceSetNames = new HashSet<string>(EqualityComparer<string>.Default); 213HashSet<string> resourceTypeNames = new HashSet<string>(EqualityComparer<string>.Default); 249HashSet<string> serviceOperationNames = new HashSet<string>(EqualityComparer<string>.Default);
System\Data\Services\Providers\ObjectContextServiceProvider.cs (5)
252HashSet<ResourceSet> containers = new HashSet<ResourceSet>(EqualityComparer<ResourceSet>.Default); 785HashSet<ResourceType> connectedTypes = new HashSet<ResourceType>(EqualityComparer<ResourceType>.Default); 2495private Dictionary<EntityContainer, List<EntitySet>> entitySets = new Dictionary<EntityContainer, List<EntitySet>>(EqualityComparer<EntityContainer>.Default); 2498private Dictionary<EntityContainer, List<AssociationSet>> associationSets = new Dictionary<EntityContainer, List<AssociationSet>>(EqualityComparer<EntityContainer>.Default); 2715typesInSameNamespace = new HashSet<EdmType>(EqualityComparer<EdmType>.Default);
System\Data\Services\Providers\ReflectionServiceProvider.cs (1)
854HashSet<Assembly> assemblies = new HashSet<Assembly>(EqualityComparer<Assembly>.Default);
System\Data\Services\Serializers\JsonReader.cs (1)
537this.entries = new Dictionary<string, object>(EqualityComparer<String>.Default);
System\Data\Services\Serializers\MetadataSerializer.cs (6)
253WriteAssociationTypes(this.Writer, new HashSet<ResourceAssociationType>(associationsInThisNamespace.Values, EqualityComparer<ResourceAssociationType>.Default)); 266WriteAssociationTypes(this.Writer, new HashSet<ResourceAssociationType>(associationsInThisNamespace.Values, EqualityComparer<ResourceAssociationType>.Default)); 717private Dictionary<string, Dictionary<string, ResourceAssociationType>> associationTypes = new Dictionary<string, Dictionary<string, ResourceAssociationType>>(EqualityComparer<string>.Default); 720private Dictionary<string, ResourceAssociationSet> associationSets = new Dictionary<string, ResourceAssociationSet>(EqualityComparer<string>.Default); 824get { return new HashSet<ResourceAssociationSet>(this.associationSets.Values, EqualityComparer<ResourceAssociationSet>.Default); } 949typesInSameNamespace = new HashSet<ResourceType>(EqualityComparer<ResourceType>.Default);
System\Data\Services\UpdateTracker.cs (1)
151changedItems = new Dictionary<object, UpdateOperations>(EqualityComparer<object>.Default);
System.Data.Services.Client (24)
System\Data\Services\Client\ALinq\Evaluator.cs (1)
221this.candidates = new HashSet<Expression>(EqualityComparer<Expression>.Default);
System\Data\Services\Client\ALinq\InputBinder.cs (1)
37private readonly HashSet<ResourceExpression> referencedInputs = new HashSet<ResourceExpression>(EqualityComparer<ResourceExpression>.Default);
System\Data\Services\Client\ALinq\ReflectionUtil.cs (3)
36Dictionary<String, SequenceMethod> map = new Dictionary<string, SequenceMethod>(EqualityComparer<string>.Default); 337s_methodMap = new Dictionary<MethodInfo, SequenceMethod>(EqualityComparer<MethodInfo>.Default); 338s_inverseMap = new Dictionary<SequenceMethod, MethodInfo>(EqualityComparer<SequenceMethod>.Default);
System\Data\Services\Client\ALinq\ResourceBinder.cs (2)
282rse.KeyPredicate = new Dictionary<PropertyInfo, ConstantExpression>(EqualityComparer<PropertyInfo>.Default); 370keyValues = new Dictionary<PropertyInfo, ConstantExpression>(EqualityComparer<PropertyInfo>.Default);
System\Data\Services\Client\ALinq\TypeSystem.cs (3)
49expressionMethodMap = new Dictionary<MethodInfo, string>(ExpectedCount, EqualityComparer<MethodInfo>.Default); 87expressionVBMethodMap = new Dictionary<string, string>(EqualityComparer<string>.Default); 103propertiesAsMethodsMap = new Dictionary<PropertyInfo, MethodInfo>(EqualityComparer<PropertyInfo>.Default);
System\Data\Services\Client\AtomMaterializerLog.cs (3)
70this.appendOnlyEntries = new Dictionary<string, AtomEntry>(EqualityComparer<String>.Default); 73this.foundEntriesWithMedia = new Dictionary<String, AtomEntry>(EqualityComparer<String>.Default); 74this.identityStack = new Dictionary<String, AtomEntry>(EqualityComparer<String>.Default);
System\Data\Services\Client\Binding\BindingEntityInfo.cs (3)
49private static readonly HashSet<Type> knownNonEntityTypes = new HashSet<Type>(EqualityComparer<Type>.Default); 52private static readonly Dictionary<Type, object> knownObservableCollectionTypes = new Dictionary<Type, object>(EqualityComparer<Type>.Default); 55private static readonly Dictionary<Type, BindingEntityInfoPerType> bindingEntityInfos = new Dictionary<Type, BindingEntityInfoPerType>(EqualityComparer<Type>.Default);
System\Data\Services\Client\ClientConvert.cs (1)
497Dictionary<string, Type> named = new Dictionary<string, Type>(EqualityComparer<String>.Default);
System\Data\Services\Client\ClientType.cs (1)
48private static readonly Dictionary<Type, ClientType> types = new Dictionary<Type, ClientType>(EqualityComparer<Type>.Default);
System\Data\Services\Client\DataServiceContext.cs (2)
105private Dictionary<object, EntityDescriptor> entityDescriptors = new Dictionary<object, EntityDescriptor>(EqualityComparer<object>.Default); 3572System.Threading.Interlocked.CompareExchange(ref this.identityToDescriptor, new Dictionary<String, EntityDescriptor>(EqualityComparer<String>.Default), null);
System\Data\Services\Client\DataServiceRequestArgs.cs (1)
32this.headers = new Dictionary<string, string>(EqualityComparer<string>.Default);
System\Data\Services\Client\DataServiceResponse.cs (1)
42this.headers = headers ?? new Dictionary<string, string>(EqualityComparer<string>.Default);
System\Data\Services\Client\WebUtil.cs (1)
114Dictionary<string, string> headers = new Dictionary<string, string>(EqualityComparer<string>.Default);
System\Data\Services\Client\XmlUtil.cs (1)
240HashSet<string> names = new HashSet<string>(EqualityComparer<string>.Default);
System.IdentityModel (1)
System\IdentityModel\Claims\Claim.cs (1)
75return EqualityComparer<Claim>.Default;
System.Runtime.DurableInstancing (1)
System\Runtime\PersistencePipeline.cs (1)
356return EqualityComparer<object>.Default.Equals(value, item.Value);
System.ServiceModel (3)
System\ServiceModel\SynchronizedKeyedCollection.cs (3)
23this.comparer = EqualityComparer<K>.Default; 30this.comparer = EqualityComparer<K>.Default; 167return EqualityComparer<T>.Default.Equals(item, itemInDict);