Skip to content

Commit

Permalink
Merge branch 'csharp5202' of https://github.com/BorisDog/mongo-csharp…
Browse files Browse the repository at this point in the history
…-driver into csharp5202
  • Loading branch information
BorisDog committed Jan 27, 2025
2 parents 19e00f1 + 9a3ce23 commit 20c5533
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/MongoDB.Bson/ObjectModel/BsonVector.cs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public BsonVectorPackedBit(ReadOnlyMemory<byte> 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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ _ when typeof(TItemCollection) == typeof(BsonVectorPackedBit) => BsonVectorDataT
/// <summary>
/// Represents a base class for serializers to/from collection of <typeparamref name="TItem"/>.
/// </summary>
/// <typeparam name="TItemCollection">The collection type."/>.</typeparam>
/// <typeparam name="TItemCollection">The collection type.</typeparam>
/// <typeparam name="TItem">The .NET data type.</typeparam>
public abstract class BsonVectorToCollectionSerializer<TItemCollection, TItem> : BsonVectorSerializerBase<TItemCollection, TItem>
where TItem : struct
Expand Down

0 comments on commit 20c5533

Please sign in to comment.