(WriteContext context, in HashSet<uint> value, bool hasGenerics)
| 587 | public override HashSet<uint> DefaultValue => null!; |
| 588 | |
| 589 | public override void WriteData(WriteContext context, in HashSet<uint> value, bool hasGenerics) |
| 590 | { |
| 591 | HashSet<uint> set = value ?? []; |
| 592 | PrimitiveCollectionHeader.WriteListHeader(context, set.Count, hasGenerics, TypeId.VarUInt32, false); |
| 593 | foreach (uint item in set) |
| 594 | { |
| 595 | context.Writer.WriteVarUInt32(item); |
| 596 | } |
| 597 | } |
| 598 | |
| 599 | public override HashSet<uint> ReadData(ReadContext context) |
| 600 | { |
nothing calls this directly
no test coverage detected