[CSHARP-76] MongoCursor SetFields not working with array of field names Created: 20/Oct/10 Updated: 19/Oct/16 Resolved: 20/Oct/10 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Robert Stam | Assignee: | Robert Stam |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
The following won't compile: cursor.SetFields("a", "b", "c"); The following compiles but doesn't work: cursor.SetFields(new[] { "a", "b", "c" }); |
| Comments |
| Comment by Robert Stam [ 20/Oct/10 ] |
|
Fixed typo in overload of SetFields (removed <TFields> that wasn't supposed to be there). |