public Type[] GetTypes() { List<Type> list = new List<Type>(); GetTypesImpl(list); return list.ToArray(); }