[CSHARP-102] BsonClassMap should ignore non-parameterless properties Created: 19/Nov/10 Updated: 02/Apr/15 Resolved: 19/Nov/10 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | None |
| Affects Version/s: | 0.7 |
| Fix Version/s: | 0.9 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Testo | Assignee: | Robert Stam |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
such as public string this[string item] { } |
| Comments |
| Comment by Robert Stam [ 19/Nov/10 ] |
|
Fixed by changing FindMembers in PublicMemberFinderConvention to skip indexers. |
| Comment by Robert Stam [ 19/Nov/10 ] |
|
Actually, I can reproduce it now. I realized that the indexer needed to have both a getter and a setter to reproduce the issue. |
| Comment by Robert Stam [ 19/Nov/10 ] |
|
Looks to me like they are already being ignored. Check the CSharp102Tests.cs file in the BsonUnitTests/Jira folder to see if I am trying to reproduce the issue correctly. |