expand selector test
move field diag into BuildMemberReferenceExpr(), remove some unused code