src/Shared/EntityFramework/Core/Query/PlanCompiler/SimplePropertyRef.cs
// <summary>
// Overrides the default equality function. Two SimplePropertyRefs are
// equal, if they describe the same property
// </summary>
Overrides the default equality function. Two SimplePropertyRefs are
equal, if they describe the same property
Overrides the default equality function . Two SimplePropertyRefs are equal if they describe the same property
public override bool Equals(object obj)
        {
            var other = obj as SimplePropertyRef;
            return (other != null &&
                    Command.EqualTypes(m_property.DeclaringType, other.m_property.DeclaringType) &&
                    other.m_property.Name.Equals(m_property.Name));
        }
public override bool Equals ( object obj ) { var other = obj as SimplePropertyRef ; return ( other != null && Command . EqualTypes ( m_property . DeclaringType , other . m_property . DeclaringType ) && other . m_property . Name . Equals ( m_property . Name ) ) ; }
Overrides the default equality function.
Overrides the default equality function .
obj
object