Description
The following fails:
var value = (E?)E.B;
|
|
|
var queryable = collection
|
.AsQueryable()
|
.Where(x => x.E == value);
|
Where the types are:
private class C |
{
|
public int Id { get; set; } |
public E E { get; set; } |
}
|
|
|
private enum E { A, B } |
Attachments
Issue Links
- is depended on by
-
VS-77 Add more enum test cases
-
- Backlog
-
-
CSHARP-4358 Update tests that only test against LINQ2 to test against LINQ3 instead of or in addition to LINQ2
-
- Closed
-
- related to
-
CSHARP-4410 Test full support for enums in aggregation expressions
-
- Closed
-