mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 12:57:25 +08:00
044770f1a2
`SerializationReader` is not written in a form that would support turning nullability checking on for the entire class. The biggest problem there is the inner `DynamicDeserializer` static class, whose members are initialised via an `initialize()` method, which the compiler knows nothing about. For this reason, just opt to suppress the single inspection about returning a `null` from a method with a return type of `string` (rider expects `string?`). It would have been also viable to enable nullability checking for this one method, but that's pretty much the same thing and adds no safety anyways, so just disable the warning to minimise surprise. |
||
---|---|---|
.. | ||
ILegacySerializable.cs | ||
SerializationReader.cs | ||
SerializationWriter.cs |