static bool CheckType(Type t, bool custom) { if (t == null) { return(false); } return(!BindType.IsObsolete(t)); }