dnickless
dnickless
We are also experiencing the exact same bug - our clients cannot run our application against a replica set. Please merge this PR!
I created a JIRA ticket: [CSHARP-2668](https://jira.mongodb.org/browse/CSHARP-2668)
Everything fixed and cleaned up now using separate commits for easier change tracking - should arguably get squashed.
I just rebased and optimized the suggested refactoring. Also, there now is some performance-relevant change (less repeated usage of reflection) included which - should you wish not to merge the...
While I was originally putting together that code it had not been optimized yet. So after comparing the optimized version that does exist right now to my suggestion here, the...