Roman, have you filed this in the C# driver project?https://jira.mongodb.org/browse/CSHARP
On Wednesday, April 18, 2012 6:55:24 AM UTC+1, Roman Kuzmin wrote:Also, there is a bug.
\Driver\Builders\QueryBuilder.cs(1015):
public QueryConditionList In(IEnumerable<BsonValue> values)
It calls `if (values.Contains(null)) ...` with a null argument. At the same time in
\Bson\ObjectModel\BsonArray.cs(648):
public bool Contains(BsonValue value)
.. there is:
if (value == null)
{
throw new ArgumentNullException("value");
}
Thus, `In` seems to be always throwing an exception.
--To view this discussion on the web visit https://groups.google.com/d/msg/mongodb-user/-/7wMPYYWPWVkJ.
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To post to this group, send email to mongod...@googlegroups.com.
To unsubscribe from this group, send email to mongodb-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/mongodb-user?hl=en.