private static Type GetCollectionElementType(Type type, string memberInfo) { return GetDefaultIndexer(type, memberInfo).PropertyType; }