…umentWriter. Added unit tests for BsonExtensionMethods. Fixed maxDistance value for spherical WithinCircle unit test.
…th spherical false or true).
… showing that spherical true alters the results correctly.
…Int64 (using AllowOverflow and AllowTruncation RepresentationSerializationOptions). Unit tests to follow come daylight.
…son" directory name had been introduced by mistake).
…Added Near, WithinCircle and WithinRectangle to QueryBuilder.
…asses. Added ExtraElementMemberMap property and several ExtraElements related methods to BsonClassMap. Modified BsonClassMapSerializer to handle extra elements.
…ute and RepresentationSerializationOptions. Added TruncationException.
…rties to RepresentationSerializationOptions and BsonRepresentationAttribute. Changed Double-, Single- and [U]Int16/32/64Serializer to use new RepresentationSerializationOptions conversion routines that respect AllowOverflow and AllowTruncation properties.
…ing standard and to naming conventions (also improved exception error messages).
… into GWBasic-master
…ues in JsonScanner. Moved some value parsing logic down from JsonReader to JsonScanner. Added DateTime and ObjectId to JsonTokenTypes. Added subclasses of JsonToken for various value types (Int32, Int64, String, etc...).
…IEnumerable<ObjectId>. Added some new unit tests.
…ver, MongoDatabase, MongoCollection and MongoCursor virtual to enable the use of mock object unit testing frameworks.
…alues of type double, Int32 and Int64.
… and cursor). Moved MongoCursorEnumerator from a nested class in MongoCursor to the Internal folder. CommandCollection now uses SlaveOk set to false to route commands to the primary instead of creating a new instance of MongoServer.
…JSON representation for binary data.
… values; it applies whenever an enum is serialized with a nominalType of object. Since the enum is serialized as an int the type information is lost, so when this value is read back in it results in an instance of int, not of the original enum. This might be considered a bug in its own right, but would require writing type information to the serialized form to do anything different (and would not be cross platform).
…ettings. Not only does this unify how settings are handled at the various levels, it also finally made MongoCollection thread safe as claimed (by incorporating AssignIdOnInsert into the settings) and paves the way for making SlaveOk configurable at all 4 levels soon.
…ith typical .NET names, and many of these classes didn't need to be singletons anyway, we just want a handy precreated instance available for sharing.
…llowed for the same reason that a class map can't be replaced (because subclasses might already be referring to it).