(WriteContext context, in ImmutableHashSet<T> value, bool hasGenerics)
| 579 | public override ImmutableHashSet<T> DefaultValue => null!; |
| 580 | |
| 581 | public override void WriteData(WriteContext context, in ImmutableHashSet<T> value, bool hasGenerics) |
| 582 | { |
| 583 | ImmutableHashSet<T> safe = value ?? ImmutableHashSet<T>.Empty; |
| 584 | CollectionCodec.WriteCollectionData(safe, context.TypeResolver.GetSerializer<T>(), context, hasGenerics); |
| 585 | } |
| 586 | |
| 587 | public override ImmutableHashSet<T> ReadData(ReadContext context) |
| 588 | { |
nothing calls this directly
no test coverage detected