(WriteContext context, in HashSet<int> value, bool hasGenerics)
| 487 | public override HashSet<int> DefaultValue => null!; |
| 488 | |
| 489 | public override void WriteData(WriteContext context, in HashSet<int> value, bool hasGenerics) |
| 490 | { |
| 491 | HashSet<int> set = value ?? []; |
| 492 | PrimitiveCollectionHeader.WriteListHeader(context, set.Count, hasGenerics, TypeId.VarInt32, false); |
| 493 | foreach (int item in set) |
| 494 | { |
| 495 | context.Writer.WriteVarInt32(item); |
| 496 | } |
| 497 | } |
| 498 | |
| 499 | public override HashSet<int> ReadData(ReadContext context) |
| 500 | { |
nothing calls this directly
no test coverage detected