Details
-
Bug
-
Resolution: Done
-
Major - P3
-
1.6.1
-
None
-
None
Description
To reproduce:
public class C
|
{
|
public int _id;
|
public short s;
|
}
|
|
|
var query =
|
from x in collection.AsQueryable<C>()
|
where x.s == 2
|
select x;
|
which results in the following exception:
Unsupported where clause: ((Int32)x.s == 2)
|
Attachments
Issue Links
- is related to
-
CSHARP-900 Support downcasting object in LINQ queries
-
- Closed
-