(WriteContext context, in MyExt value, bool hasGenerics)
| 1222 | public override MyExt DefaultValue => null!; |
| 1223 | |
| 1224 | public override void WriteData(WriteContext context, in MyExt value, bool hasGenerics) |
| 1225 | { |
| 1226 | _ = hasGenerics; |
| 1227 | context.Writer.WriteVarInt32((value ?? new MyExt()).Id); |
| 1228 | } |
| 1229 | |
| 1230 | public override MyExt ReadData(ReadContext context) |
| 1231 | { |
nothing calls this directly
no test coverage detected