src/Shared/EntityFramework/Internal/EntityEntries/InternalEntityEntry.cs
// <summary>
// Determines whether the specified <see cref="System.Object" /> is equal to this instance.
// Two <see cref="InternalEntityEntry" /> instances are considered equal if they are both entries for
// the same entity on the same <see cref="DbContext" />.
// </summary>
// <param name="obj">
// The <see cref="System.Object" /> to compare with this instance.
// </param>
// <returns>
// <c>true</c> if the specified <see cref="System.Object" /> is equal to this instance; otherwise, <c>false</c> .
// </returns>
Determines whether the specified  is equal to this instance.
Two  instances are considered equal if they are both entries for
the same entity on the same .
Determines whether the specified is equal to this instance . Two instances are considered equal if they are both entries for the same entity on the same .
public override bool Equals(object obj)
        {
            if (ReferenceEquals(null, obj)
                || obj.GetType() != typeof(InternalEntityEntry))
            {
                return false;
            }
            return Equals((InternalEntityEntry)obj);
        }
public override bool Equals ( object obj ) { if ( ReferenceEquals ( null , obj ) || obj . GetType ( ) != typeof ( InternalEntityEntry ) ) { return false ; } return Equals ( ( InternalEntityEntry ) obj ) ; }
Determines whether the specified  is equal to this instance.
Determines whether the specified is equal to this instance .
true is equal to this instance; otherwise, false
true is equal to this instance ; otherwise false
obj
object
The  to compare with this instance.
The to compare with this instance .