Skip to content

Commit

Permalink
Reference Serializer usage update
Browse files Browse the repository at this point in the history
  • Loading branch information
HermanSchoenfeld committed May 27, 2024
1 parent e0675fe commit 7c3d0aa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ public static IStreamMappedDictionary<TKey, TValue> CreateDictionary<TKey, TValu
valueComparer ??= EqualityComparer<TValue>.Default;

// ensure it can serialize null's
valueSerializer = valueSerializer.AsReferenceSerializer();
Guard.Ensure(valueSerializer.SupportsNull, $"Value serializer {keySerializer} does not support null values");

var useCLK = false;
switch (implementation) {
Expand Down

0 comments on commit 7c3d0aa

Please sign in to comment.