From cd2e77201139bd48ee143b4e4ea080ec53356c41 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 b482abc7feb..d6aa18ccae6 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 f399c1f7c24..34a081c0cf5 100644 --- a/src/MongoDB.Bson/Serialization/Serializers/BsonVectorSerializer.cs +++ b/src/MongoDB.Bson/Serialization/Serializers/BsonVectorSerializer.cs @@ -115,7 +115,7 @@ _ when typeof(TItemCollection) == typeof(BsonVectorPackedBit) => BsonVectorDataT /// /// 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