90 implementations of Equals
mscorlib (5)
system\collections\generic\equalitycomparer.cs (2)
87public abstract bool Equals(T x, T y); 513public bool Equals(string x, string y) {
system\resources\__fastresourcecomparer.cs (1)
68public bool Equals(String a, String b)
system\runtime\interopservices\windowsruntime\windowsruntimemarshal.cs (1)
385public bool Equals(EventCacheKey lhs, EventCacheKey rhs)
system\stringcomparer.cs (1)
126public abstract bool Equals(String x, String y);
PresentationCore (1)
Core\CSharp\System\Windows\Media\FontEmbeddingManager.cs (1)
136public bool Equals(Uri x, Uri y)
PresentationFramework (1)
src\Framework\System\Windows\Controls\Primitives\Selector.cs (1)
3016bool IEqualityComparer<ItemInfo>.Equals(ItemInfo x, ItemInfo y)
System (2)
compmod\system\collections\generic\sortedset.cs (1)
2438public bool Equals(SortedSet<T> x, SortedSet<T> y) {
compmod\system\componentmodel\design\ServiceObjectContainer.cs (1)
284public bool Equals(Type x, Type y) {
System.Activities (5)
Microsoft\VisualBasic\Activities\XamlIntegration\VisualBasicExpressionConverter.cs (1)
309bool IEqualityComparer<XNamespace>.Equals(XNamespace x, XNamespace y)
System\Activities\Bookmark.cs (1)
212public bool Equals(Bookmark x, Bookmark y)
System\Activities\DynamicUpdate\DynamicUpdateMapBuilder.cs (1)
171public new bool Equals(object x, object y)
System\Activities\Expressions\AssemblyNameEqualityComparer.cs (1)
28public bool Equals(AssemblyName x, AssemblyName y)
System\Activities\XamlIntegration\CompiledDataContext.cs (1)
316bool IEqualityComparer<T>.Equals(T x, T y)
System.Activities.Presentation (2)
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\ObjectReferenceEqualityComparer.cs (1)
33public bool Equals(T x, T y)
System.Activities.Presentation\System\Activities\Presentation\Model\WeakKeyDictionary.cs (1)
331public bool Equals(WeakKey x, WeakKey y)
System.Core (3)
Microsoft\Scripting\Utils\ReferenceEqualityComparer.cs (1)
25public bool Equals(T x, T y) {
System\Collections\Generic\HashSetEqualityComparer.cs (1)
32public bool Equals(HashSet<T> x, HashSet<T> y) {
System\Linq\Parallel\Utils\WrapperEqualityComparer.cs (1)
40public bool Equals(Wrapper<T> x, Wrapper<T> y)
System.Data (4)
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\ObjectReferenceEqualityComparer.cs (1)
33public bool Equals(T x, T y)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\WeakKeyDictionary.cs (1)
331public bool Equals(WeakKey x, WeakKey y)
fx\src\data\System\Data\Common\ObjectStorage.cs (1)
544public bool Equals(KeyValuePair<Type,XmlRootAttribute> x, KeyValuePair<Type,XmlRootAttribute> y)
fx\src\data\System\Data\DataView.cs (1)
92public bool Equals(DataRow x, DataRow y) {
System.Data.DataSetExtensions (1)
System\Data\DataRowComparer.cs (1)
155public bool Equals(TRow leftRow, TRow rightRow)
System.Data.Entity (28)
System\Data\Common\EntitySql\TypeResolver.cs (2)
69bool IEqualityComparer<MetadataMember>.Equals(MetadataMember x, MetadataMember y) 301public bool Equals(TypeUsage x, TypeUsage y)
System\Data\Common\Utils\Boolean\Solver.cs (1)
314public bool Equals(Vertex x, Vertex y)
System\Data\Common\Utils\ByValueEqualityComparer.cs (1)
35public new bool Equals(object x, object y)
System\Data\Common\Utils\Pair.cs (1)
92public bool Equals(Pair<TFirst, TSecond> x, Pair<TFirst, TSecond> y)
System\Data\Common\Utils\Set.cs (1)
368bool IEqualityComparer<Set<TElement>>.Equals(Set<TElement> x, Set<TElement> y)
System\Data\Common\Utils\TrailingSpaceComparer.cs (2)
24bool IEqualityComparer<object>.Equals(object x, object y) 55public bool Equals(string x, string y)
System\Data\Mapping\StorageEntityContainerMapping.cs (1)
488public bool Equals(InputForComputingCellGroups one, InputForComputingCellGroups two)
System\Data\Mapping\Update\Internal\CompositeKey.cs (1)
81public bool Equals(CompositeKey left, CompositeKey right)
System\Data\Mapping\Update\Internal\UpdateCommandOrderer.cs (1)
488public bool Equals(ForeignKeyValue x, ForeignKeyValue y)
System\Data\Mapping\ViewGeneration\QueryRewriting\FragmentQuery.cs (1)
155public bool Equals(FragmentQuery x, FragmentQuery y)
System\Data\Mapping\ViewGeneration\QueryRewriting\FragmentQueryProcessor.cs (1)
171public bool Equals(HashSet<MemberPath> x, HashSet<MemberPath> y)
System\Data\Mapping\ViewGeneration\Structures\BoolExpression.cs (1)
445public bool Equals(BoolExpression left, BoolExpression right)
System\Data\Mapping\ViewGeneration\Structures\BoolLiteral.cs (2)
122public bool Equals(BoolLiteral left, BoolLiteral right) 152public bool Equals(BoolLiteral left, BoolLiteral right)
System\Data\Mapping\ViewGeneration\Structures\Constant.cs (1)
106public bool Equals(Constant left, Constant right)
System\Data\Mapping\ViewGeneration\Structures\LeafCellTreeNode.cs (1)
295public bool Equals(LeafCellTreeNode left, LeafCellTreeNode right)
System\Data\Mapping\ViewGeneration\Structures\LeftCellWrapper.cs (1)
346public bool Equals(LeftCellWrapper left, LeftCellWrapper right)
System\Data\Mapping\ViewGeneration\Structures\MemberPath.cs (1)
848public bool Equals(MemberPath left, MemberPath right)
System\Data\Mapping\ViewGeneration\Structures\ProjectedSlot.cs (1)
169public bool Equals(ProjectedSlot left, ProjectedSlot right)
System\Data\Mapping\ViewGeneration\Validation\ErrorPatternMatcher.cs (1)
782public bool Equals(Dictionary<MemberPath, Set<Constant>> one, Dictionary<MemberPath, Set<Constant>> two)
System\Data\Metadata\DefaultAssemblyResolver.cs (1)
167public bool Equals(Assembly x, Assembly y)
System\Data\Objects\ObjectStateManager.cs (1)
3768bool IEqualityComparer<object>.Equals(object x, object y)
System\Data\Objects\ObjectStateManagerMetadata.cs (1)
36public bool Equals(EntitySetQualifiedType x, EntitySetQualifiedType y)
System\Data\Objects\SpanIndex.cs (1)
38public bool Equals(RowType x, RowType y)
System\Data\Query\PlanCompiler\TypeUtils.cs (1)
61public bool Equals(System.Data.Metadata.Edm.TypeUsage x, System.Data.Metadata.Edm.TypeUsage y)
System\Data\SqlClient\SqlGen\SqlGenerator.cs (1)
2050public bool Equals(DbExpression x, DbExpression y)
System.Data.Linq (2)
IdentityManager.cs (1)
221public bool Equals(MultiKey<T1, T2> x, MultiKey<T1, T2> y) {
SqlClient\Common\TypeSystem.cs (1)
263public bool Equals(MetaPosition x, MetaPosition y) {
System.Data.Services (4)
parent\Client\System\Data\Services\Client\ReferenceEqualityComparer.cs (1)
149public bool Equals(T x, T y)
System\Data\Services\Caching\MetadataCache.cs (1)
142public bool Equals(MetadataCacheKey x, MetadataCacheKey y)
System\Data\Services\Int32EqualityComparer.cs (1)
31public bool Equals(int x, int y)
System\Data\Services\Providers\BasicExpandProvider.cs (1)
547public bool Equals(ProjectedProperty x, ProjectedProperty y)
System.Data.Services.Client (4)
System\Data\Services\Client\ALinq\ResourceBinder.cs (1)
2395public bool Equals(PropertyInfo left, PropertyInfo right)
System\Data\Services\Client\ClientType.cs (1)
1060public bool Equals(TypeName x, TypeName y)
System\Data\Services\Client\LinkDescriptor.cs (1)
111public bool Equals(LinkDescriptor x, LinkDescriptor y)
System\Data\Services\Client\ReferenceEqualityComparer.cs (1)
149public bool Equals(T x, T y)
System.Data.Services.Design (1)
System\Data\EntityModel\Emitters\ClientApiGenerator.cs (1)
890public bool Equals(EntitySetBase x, EntitySetBase y)
System.IdentityModel (3)
System\IdentityModel\Claims\ClaimComparer.cs (1)
135public bool Equals(Claim claim1, Claim claim2)
System\IdentityModel\Tokens\ConfigurationBasedIssuerNameRegistry.cs (1)
207public bool Equals(string x, string y)
System\IdentityModel\Tokens\SamlAttributeKeyComparer.cs (1)
83public bool Equals( AttributeKey x, AttributeKey y )
System.Runtime.Serialization (1)
System\Runtime\Serialization\DataContract.cs (1)
2681public bool Equals(TypeHandleRef x, TypeHandleRef y)
System.ServiceModel (9)
System\ServiceModel\ChannelFactoryRefCache.cs (1)
69public bool Equals(EndpointTrait<TChannel> x, EndpointTrait<TChannel> y)
System\ServiceModel\Description\DataContractSerializerOperationGenerator.cs (1)
240public bool Equals(CodeTypeReference x, CodeTypeReference y)
System\ServiceModel\Description\ServiceContractGenerator.cs (1)
686bool IEqualityComparer<MessageDescription>.Equals(MessageDescription x, MessageDescription y)
System\ServiceModel\Dispatcher\EndpointAddressProcessor.cs (1)
294public bool Equals(QName x, QName y)
System\ServiceModel\Dispatcher\OperationFormatter.cs (1)
891public bool Equals(QName x, QName y)
System\ServiceModel\Security\IdentityModelServiceAuthorizationManager.cs (1)
727public bool Equals(System.IdentityModel.Claims.Claim claim1, System.IdentityModel.Claims.Claim claim2)
System\ServiceModel\Security\InMemoryNonceCache.cs (1)
154public bool Equals(byte[] x, byte[] y)
System\UriTemplateEquivalenceComparer.cs (1)
30public bool Equals(UriTemplate x, UriTemplate y)
System\UriTemplateHelpers.cs (1)
374public bool Equals(string x, string y)
System.Web (2)
UI\EventValidationStore.cs (1)
141public bool Equals(byte[] x, byte[] y) {
UI\WebParts\PersonalizationStateInfoCollection.cs (1)
184bool IEqualityComparer<Key>.Equals(Key x, Key y) {
System.Web.DataVisualization (1)
Common\General\Chart.cs (1)
4333public bool Equals(KeyInfo x, KeyInfo y)
System.Windows.Forms.DataVisualization (1)
Common\General\Chart.cs (1)
4333public bool Equals(KeyInfo x, KeyInfo y)
System.Workflow.Runtime (1)
parent\Common\Shared\DigestComparer.cs (1)
19bool IEqualityComparer<byte[]>.Equals(byte[] digest1, byte[] digest2)
System.Xml (1)
System\Xml\Core\SecureStringHasher.cs (1)
45public bool Equals( String x, String y ) {
System.Xml.Linq (2)
System\Xml\Linq\XLinq.cs (1)
2108public bool Equals(XNode x, XNode y) {
System\Xml\Linq\XNodeValidator.cs (1)
313public bool Equals(XmlSchemaInfo si1, XmlSchemaInfo si2) {
WindowsBase (6)
Base\MS\Internal\ComponentModel\PropertyDescriptorComparer.cs (1)
13public bool Equals(PropertyDescriptor p1, PropertyDescriptor p2)
Base\MS\Internal\ComponentModel\ReferenceEqualityComparer.cs (1)
13bool IEqualityComparer<object>.Equals(object o1, object o2)
Base\MS\Internal\ContentType.cs (2)
329public bool Equals(ContentType x, ContentType y) 358public bool Equals(ContentType x, ContentType y)
Base\System\IO\Packaging\ZipPackage.cs (1)
836bool IEqualityComparer<string>.Equals(string extensionA, string extensionB)
Base\System\Security\RightsManagement\User.cs (1)
282bool IEqualityComparer<ContentUser>.Equals(ContentUser user1, ContentUser user2)
84 references to Equals
mscorlib (13)
system\Collections\Concurrent\ConcurrentDictionary.cs (5)
450if (comparer.Equals(curr.m_key, key)) 515if (comparer.Equals(n.m_key, key)) 575if (comparer.Equals(node.m_key, key)) 577if (valueComparer.Equals(node.m_value, comparisonValue)) 851if (comparer.Equals(node.m_key, key))
system\collections\generic\dictionary.cs (3)
305if (entries[i].hashCode == hashCode && comparer.Equals(entries[i].key, key)) return i; 334if (entries[i].hashCode == hashCode && comparer.Equals(entries[i].key, key)) { 477if (entries[i].hashCode == hashCode && comparer.Equals(entries[i].key, key)) {
system\collections\objectmodel\keyedcollection.cs (5)
68if (comparer.Equals(GetKeyForItem(item), key)) return item; 87if (comparer.Equals(GetKeyForItem(item), key)) return true; 122if (comparer.Equals(GetKeyForItem(Items[i]), key)) { 142if (!comparer.Equals(oldKey, newKey)) { 184if (comparer.Equals(oldKey, newKey)) {
PresentationFramework (2)
src\Framework\System\Windows\Controls\Primitives\Selector.cs (2)
2953return _list.FindIndex( (ItemInfo x) => { return _equalityComparer.Equals(info, x); } ); 2959return _list.FindLastIndex( (ItemInfo x) => { return _equalityComparer.Equals(info, x); } );
System.Activities (2)
Microsoft\VisualBasic\Activities\VisualBasicHelper.cs (2)
1574AssemblySetEqualityComparer.Equals(this.assemblies, rtcKey.assemblies) && 1575NamespaceSetEqualityComparer.Equals(this.namespaces, rtcKey.namespaces);
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Model\WeakKeyDictionary.cs (1)
354return _comparer.Equals((K)ref1, (K)ref2);
System.Core (18)
System\Collections\Generic\HashSet.cs (6)
264if (m_slots[i].hashCode == hashCode && m_comparer.Equals(m_slots[i].value, item)) { 293if (m_slots[i].hashCode == hashCode && m_comparer.Equals(m_slots[i].value, item)) { 1055if (m_slots[i].hashCode == hashCode && m_comparer.Equals(m_slots[i].value, value)) { 1222if ((m_slots[i].hashCode) == hashCode && m_comparer.Equals(m_slots[i].value, item)) { 1331if (m_slots[i].hashCode == hashCode && m_comparer.Equals(m_slots[i].value, value)) { 1492if (comparer.Equals(set2Item, set1Item)) {
System\Linq\Enumerable.cs (5)
930if (!(e2.MoveNext() && comparer.Equals(e1.Current, e2.Current))) return false; 1375if (comparer.Equals(element, value)) return true; 2261if (g.hashCode == hashCode && comparer.Equals(g.key, key)) return g; 2414if (slots[i].hashCode == hashCode && comparer.Equals(slots[i].value, value)) { 2434if (slots[i].hashCode == hashCode && comparer.Equals(slots[i].value, value)) return true;
System\Linq\Parallel\QueryOperators\Unary\ContainsSearchOperator.cs (1)
204if (m_comparer.Equals(element, m_searchValue))
System\Linq\Parallel\Utils\HashLookup.cs (1)
78comparer.Equals(key1, key2));
System\Linq\Parallel\Utils\Lookup.cs (3)
72if (m_comparer.Equals(key, default(TKey))) 96if (m_comparer.Equals(key, default(TKey))) 117if (m_comparer.Equals(grouping.Key, default(TKey)))
System\Linq\Parallel\Utils\WrapperEqualityComparer.cs (1)
43return m_comparer.Equals(x.Value, y.Value);
System\Linq\ParallelEnumerable.cs (1)
4424if (!(e2.MoveNext() && comparer.Equals(e1.Current, e2.Current))) return false;
System.Data (1)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\WeakKeyDictionary.cs (1)
354return _comparer.Equals((K)ref1, (K)ref2);
System.Data.Entity (32)
System\Data\Common\Utils\Boolean\BoolExpr.cs (2)
278return _comparer.Equals(_identifier, other._identifier); 283return _comparer.Equals(_identifier, ((TermExpr<T_Identifier>)other)._identifier);
System\Data\Common\Utils\Boolean\DomainConstraint.cs (1)
69return (_identifierComparer.Equals(_identifier, other._identifier) && _domain.SetEquals(other._domain));
System\Data\Common\Utils\TrailingSpaceComparer.cs (1)
35return s_template.Equals(x, y);
System\Data\Mapping\Update\Internal\UpdateCommandOrderer.cs (1)
491_baseComparer.Equals(x.Key, y.Key);
System\Data\Mapping\ViewGeneration\CqlGeneration\BooleanProjectedSlot.cs (1)
35BoolLiteral.EqualityComparer.Equals((CellIdBoolean)expr.AsLiteral, m_originalCell), "Cellid boolean for the slot and cell number disagree");
System\Data\Mapping\ViewGeneration\CqlGeneration\CaseCqlBlock.cs (2)
66if (false == BoolExpression.EqualityComparer.Equals(this.WhereClause, BoolExpression.True)) 86if (!BoolExpression.EqualityComparer.Equals(this.WhereClause, BoolExpression.True))
System\Data\Mapping\ViewGeneration\CqlGeneration\ExtentCqlBlock.cs (2)
69if (!BoolExpression.EqualityComparer.Equals(this.WhereClause, BoolExpression.True)) 85if (!BoolExpression.EqualityComparer.Equals(this.WhereClause, BoolExpression.True))
System\Data\Mapping\ViewGeneration\QueryRewriting\QueryRewriter.cs (1)
209if (_context.ViewTarget == ViewTarget.QueryView && MemberPath.EqualityComparer.Equals(currentPath, _extentPath))
System\Data\Mapping\ViewGeneration\QueryRewriting\RewritingValidator.cs (3)
519if (!MemberPath.EqualityComparer.Equals(thisSlot.MemberPath, thatSlot.MemberPath)) 579return MemberPath.EqualityComparer.Equals(Member, other.Member) && 580Constant.EqualityComparer.Equals(Value, other.Value);
System\Data\Mapping\ViewGeneration\Structures\CellQuery.cs (2)
561if (MemberProjectedSlot.EqualityComparer.Equals(slot, m_projectedSlots[i])) 577if (slot != null && MemberPath.EqualityComparer.Equals(member, slot.MemberPath))
System\Data\Mapping\ViewGeneration\Structures\ConstantProjectedSlot.cs (1)
79return Constant.EqualityComparer.Equals(m_constant, rightSlot.m_constant);
System\Data\Mapping\ViewGeneration\Structures\Domain.cs (1)
469.Where(restriction => MemberPath.EqualityComparer.Equals(restriction.RestrictedMemberSlot.MemberPath, slot.MemberPath))
System\Data\Mapping\ViewGeneration\Structures\LeftCellWrapper.cs (1)
360bool whereClauseEqual = BoolExpression.EqualityComparer.Equals(left.RightCellQuery.WhereClause,
System\Data\Mapping\ViewGeneration\Structures\MemberPath.cs (1)
527return EqualityComparer.Equals(this, right);
System\Data\Mapping\ViewGeneration\Structures\MemberProjectedSlot.cs (2)
112return MemberPath.EqualityComparer.Equals(m_memberPath, rightSlot.m_memberPath); 183if (MemberPath.EqualityComparer.Equals(slot.MemberPath, member))
System\Data\Mapping\ViewGeneration\Structures\MemberRestriction.cs (2)
154if (false == MemberProjectedSlot.EqualityComparer.Equals(m_restrictedMemberSlot, rightRestriction.m_restrictedMemberSlot)) 186return MemberProjectedSlot.EqualityComparer.Equals(m_restrictedMemberSlot, rightOneOfConst.m_restrictedMemberSlot);
System\Data\Mapping\ViewGeneration\Structures\ProjectedSlot.cs (2)
43return EqualityComparer.Equals(this, right); 144false == EqualityComparer.Equals(memberSlot1, memberSlot2))
System\Data\Mapping\ViewGeneration\Validation\ViewCellRelation.cs (2)
69if (ProjectedSlot.EqualityComparer.Equals(slot, viewSlot.CSlot) || 70ProjectedSlot.EqualityComparer.Equals(slot, viewSlot.SSlot))
System\Data\Mapping\ViewGeneration\Validation\ViewCellSlot.cs (2)
72MemberProjectedSlot.EqualityComparer.Equals(m_cSlot, rightSlot.m_cSlot) && 73MemberProjectedSlot.EqualityComparer.Equals(m_sSlot, rightSlot.m_sSlot);
System\Data\Mapping\ViewGeneration\Validation\ViewKeyConstraint.cs (2)
69if (ProjectedSlot.EqualityComparer.Equals(firstSlot.SSlot, secondSlot.SSlot)) 80if (MemberPath.EqualityComparer.Equals(path1, path2) || path1.IsEquivalentViaRefConstraint(path2))
System.Data.Linq (4)
IdentityManager.cs (4)
222return this.comparer1.Equals(x.value1, y.value1) && 223this.comparer2.Equals(x.value2, y.value2); 278if (slots[i].hashCode == hashCode && comparer.Equals(slots[i].key, key)) { 316if (slots[i].hashCode == hashCode && comparer.Equals(slots[i].key, key)) {
System.Data.Services.Client (1)
System\Data\Services\Client\ALinq\ResourceBinder.cs (1)
319return comparer.Equals(left.First(), right.First());
System.IdentityModel (2)
System\IdentityModel\Claims\Claim.cs (1)
206return comparer.Equals(this, obj as Claim);
System\IdentityModel\Claims\ClaimSet.cs (1)
82if (comparer.Equals(claim, matchingClaim))
System.ServiceModel (7)
System\ServiceModel\EndpointIdentity.cs (1)
183return GetClaimComparer().Equals(this.IdentityClaim, claim);
System\ServiceModel\Security\SecuritySessionSecurityTokenAuthenticator.cs (1)
583return Claim.DefaultComparer.Equals(incomingContext.IdentityClaim, identityClaim);
System\ServiceModel\SynchronizedKeyedCollection.cs (5)
76if (this.comparer.Equals(key, this.GetKeyForItem(item))) 115if (!this.comparer.Equals(newKey, oldKey)) 150if (this.comparer.Equals(key, GetKeyForItem(item))) 214if (comparer.Equals(key, GetKeyForItem(Items[i]))) 253if (this.comparer.Equals(newKey, oldKey))
System.Workflow.Runtime (1)
WorkflowDefinitionDispenser.cs (1)
576return comparer.Equals((byte[])object1, (byte[])object2);