Implemented IMemberComparer interface to SemanticComparer class.