The following query does not currently work:
var queryable = collection .AsQueryable() .Select(x => new P { IList = x.List })
where the classes are defined as follows:
private class Test { public int Id { get; set; } [BsonRepresentation(BsonType.String)] public List<E> List { get; set; } } private class P { public IList<E> IList { get; set; } } private enum E { A, B, C, D };