[CSHARP-606] LINQ Is predicate does not work for properties Created: 18/Oct/12 Updated: 20/Mar/14 Resolved: 04/Nov/12 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | None |
| Affects Version/s: | 1.5, 1.6 |
| Fix Version/s: | 1.7 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Andy Clapham | Assignee: | Craig Wilson |
| Resolution: | Done | Votes: | 0 |
| Labels: | C#, Driver, Linq | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Minor Change |
| Description |
|
The LINQ driver's type tests when used on a member property in a predicate do not include the member name. e.g.
translates to
instead of
A Similar problem exists for type comparisons using typeof. |
| Comments |
| Comment by auto [ 08/Nov/12 ] |
|
Author: {u'date': u'2012-11-04T01:17:03Z', u'email': u'craiggwilson@gmail.com', u'name': u'Craig Wilson'}Message: |
| Comment by auto [ 08/Nov/12 ] |
|
Author: {u'date': u'2012-11-04T01:17:03Z', u'email': u'craiggwilson@gmail.com', u'name': u'Craig Wilson'}Message: |
| Comment by Craig Wilson [ 04/Nov/12 ] |
|
In code review... |