1 instantiation of ByValueEqualityComparer
System.Data.Entity (1)
System\Data\Common\Utils\ByValueEqualityComparer.cs (1)
29
internal static readonly ByValueEqualityComparer Default = new
ByValueEqualityComparer
();
25 references to ByValueEqualityComparer
System.Data.Entity (25)
System\Data\Common\Utils\ByValueEqualityComparer.cs (1)
29
internal static readonly
ByValueEqualityComparer
Default = new ByValueEqualityComparer();
System\Data\EntityKey.cs (4)
473
hashCode ^=
ByValueEqualityComparer
.ComputeBinaryHashCode(byteArrayValue);
567
if (!
ByValueEqualityComparer
.CompareBinaryValues((byte[])key1._singletonKeyValue, (byte[])key2._singletonKeyValue))
635
if (!
ByValueEqualityComparer
.Default.Equals(key1._compositeKeyValues[i], key2._compositeKeyValues[i]))
656
return
ByValueEqualityComparer
.Default.Equals(keyValue, key2._compositeKeyValues[i]);
System\Data\Mapping\FunctionImportMapping.cs (1)
610
return
ByValueEqualityComparer
.Default.Equals(columnValue, conditionValue);
System\Data\Mapping\Update\Internal\CompositeKey.cs (2)
114
!
ByValueEqualityComparer
.Default.Equals(leftValue.GetSimpleValue(), rightValue.GetSimpleValue()))
147
return
ByValueEqualityComparer
.Default.GetHashCode(keyComponent.GetSimpleValue());
System\Data\Mapping\Update\Internal\KeyManager.cs (1)
184
if (!
ByValueEqualityComparer
.Default.Equals(value, ownerResult.GetSimpleValue()))
System\Data\Mapping\Update\Internal\Propagator.Evaluator.cs (1)
238
result =
ByValueEqualityComparer
.Default.Equals(left, right);
System\Data\Mapping\Update\Internal\UpdateCompiler.cs (1)
305
if (!
ByValueEqualityComparer
.Default.Equals(originalPropertyResult.GetSimpleValue(), propertyResult.GetSimpleValue()))
System\Data\Mapping\ViewGeneration\Structures\ScalarConstant.cs (1)
154
return
ByValueEqualityComparer
.Default.Equals(m_scalar, rightScalarConstant.m_scalar);
System\Data\Objects\DataClasses\EntityReference.cs (3)
497
bool valueChanging = !
ByValueEqualityComparer
.Default.Equals(dependentTypeMetadata.Member(dependentOrdinal).GetValue(dependentEntity.Entity), value);
512
if (!
ByValueEqualityComparer
.Default.Equals(previouslySetValue, value))
586
if (!
ByValueEqualityComparer
.Default.Equals(currentValue, value))
System\Data\Objects\DataClasses\RelatedEnd.cs (1)
1924
if (!
ByValueEqualityComparer
.Default.Equals(currentValue, expectedValue))
System\Data\Objects\DataClasses\StructuralObject.cs (1)
260
return
ByValueEqualityComparer
.CompareBinaryValues(first, second);
System\Data\Objects\EntityEntry.cs (6)
1151
if (!
ByValueEqualityComparer
.Default.Equals(oldValue, newValue) || hasConceptualNullFk)
1881
if (!
ByValueEqualityComparer
.Default.Equals(currentValue, originalValue))
2768
if (!
ByValueEqualityComparer
.Default.Equals(valueCounterPair.Key, propertyValue))
2817
if (!
ByValueEqualityComparer
.Default.Equals(GetCurrentEntityValue(constraint.FromProperties[i].Name), pair.Value))
2964
if (!
ByValueEqualityComparer
.Default.Equals(currentValueNew, currentValueOld))
3337
(!
ByValueEqualityComparer
.Default.Equals(existing, newFieldValue))) ||
System\Data\Objects\Internal\EntityProxyFactory.cs (1)
544
AssignInterceptionDelegate(new Func<object, object, bool>(
ByValueEqualityComparer
.Default.Equals), compareByteArraysField);
System\Data\Objects\ObjectStateManager.cs (1)
1493
if (!
ByValueEqualityComparer
.Default.Equals(entityValue, keyValue))