/// <summary> /// Reads a BSON Double from the reader. /// </summary> /// <returns>A Double.</returns> public override double ReadDouble() { if (Disposed) { ThrowObjectDisposedException(); } VerifyBsonType("ReadDouble", BsonType.Double); State = GetNextState(); return(_buffer.ReadDouble()); }