[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).

Generated at Wed Feb 07 21:35:44 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.