From 9a3ce232005c3c6f3adce71954027e49d6e3f096 Mon Sep 17 00:00:00 2001 From: BorisDog Date: Thu, 2 Jan 2025 15:00:39 -0800 Subject: [PATCH] PR comments Co-authored-by: Ferdinando Papale <4850119+papafe@users.noreply.github.com> --- src/MongoDB.Bson/ObjectModel/BsonVector.cs | 2 +- .../Serialization/Serializers/BsonVectorSerializer.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/MongoDB.Bson/ObjectModel/BsonVector.cs b/src/MongoDB.Bson/ObjectModel/BsonVector.cs index 0bd77611c11..0898c9653c0 100644 --- a/src/MongoDB.Bson/ObjectModel/BsonVector.cs +++ b/src/MongoDB.Bson/ObjectModel/BsonVector.cs @@ -83,7 +83,7 @@ public BsonVectorPackedBit(ReadOnlyMemory vector, byte padding) : base(vec { if (padding < 0 || padding > 7) { - throw new ArgumentOutOfRangeException(nameof(padding), padding, "Padding is expected to be in the range of [0..7]"); + throw new ArgumentOutOfRangeException(nameof(padding), padding, "Padding is expected to be in the range of [0..7]."); } if (padding > 0 && vector.Length == 0) diff --git a/src/MongoDB.Bson/Serialization/Serializers/BsonVectorSerializer.cs b/src/MongoDB.Bson/Serialization/Serializers/BsonVectorSerializer.cs index 6e7ee368cc1..bd11d267b4f 100644 --- a/src/MongoDB.Bson/Serialization/Serializers/BsonVectorSerializer.cs +++ b/src/MongoDB.Bson/Serialization/Serializers/BsonVectorSerializer.cs @@ -90,7 +90,7 @@ public override sealed void Serialize(BsonSerializationContext context, BsonSeri /// /// Represents a base class for serializers to/from collection of . /// - /// The collection type."/>. + /// The collection type. /// The .NET data type. public abstract class BsonVectorToCollectionSerializer : BsonVectorSerializerBase where TItem : struct