mongodb/mongo-csharp-driver — pull request #140 by tkellogg (2012-11-20 18:25:14+00:00)
Title: Fixed Linq OrderBy value type bug

When using an expression that uses an expression tree with a reference
type return type (System.Object, IComparable, etc.) and an actual return
value that's a value type (System.Int64, System.DateTime, etc), the
ExpressionVisitor strips out the `Convert(c => c.LX)` to just `c => c.LX`.

fixes CSHARP-632