public static void ThrowExceptionWhenIsNotValidIdentifier(Expression <Func <object> > paramExpression) { Validators.ThrowExceptionWhenIsNull("paramExpression", (object)paramExpression); Validators.ThrowExceptionWhenIsNotValidIdentifier(Validators.GetParamName(paramExpression), Validators.GetParamValue(paramExpression) as string); }