src/Shared/EntityFramework/Core/Mapping/ViewGeneration/Structures/MemberRestriction.cs
// <summary>
// See <see cref="BoolLiteral.IsIdentifierEqualTo" />. Member restriction can be incomplete for this operation.
// </summary>
See . Member restriction can be incomplete for this operation.
See . Member restriction can be incomplete for this operation .
protected override bool IsIdentifierEqualTo(BoolLiteral right)
        {
            var rightOneOfConst = right as MemberRestriction;
            if (rightOneOfConst == null)
            {
                return false;
            }
            if (ReferenceEquals(this, rightOneOfConst))
            {
                return true;
            }
            return ProjectedSlot.EqualityComparer.Equals(m_restrictedMemberSlot, rightOneOfConst.m_restrictedMemberSlot);
        }
protected override bool IsIdentifierEqualTo ( BoolLiteral right ) { var rightOneOfConst = right as MemberRestriction ; if ( rightOneOfConst == null ) { return false ; } if ( ReferenceEquals ( this , rightOneOfConst ) ) { return true ; } return ProjectedSlot . EqualityComparer . Equals ( m_restrictedMemberSlot , rightOneOfConst . m_restrictedMemberSlot ) ; }
See .
See .
right
BoolLiteral