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