(WriteContext context, in HashSet<T> value, bool hasGenerics)
| 547 | public override HashSet<T> DefaultValue => null!; |
| 548 | |
| 549 | public override void WriteData(WriteContext context, in HashSet<T> value, bool hasGenerics) |
| 550 | { |
| 551 | HashSet<T> safe = value ?? []; |
| 552 | CollectionCodec.WriteCollectionData(safe, context.TypeResolver.GetSerializer<T>(), context, hasGenerics); |
| 553 | } |
| 554 | |
| 555 | public override HashSet<T> ReadData(ReadContext context) |
| 556 | { |
nothing calls this directly
no test coverage detected