From eamon.nerbonne on January 25, 2011 15:59:12
ExpressionToCode.ToCode(()=>new[]{1,2,3}.Cast())
This returns:
() => new[] { 1, 2, 3 }.Cast()
But omitting the type parameter here is invalid. Unfortunately, merely adding the type parameters always makes for very messy code... so some type inference knowledge here will be necessary.
Original issue: http://code.google.com/p/expressiontocode/issues/detail?id=13