1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 16:47:24 +08:00
osu-lazer/osu.Game/IO/Legacy
Bartłomiej Dach 044770f1a2 Locally suppress warning in SerializationReader
`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.
2021-05-14 23:29:34 +02:00
..
ILegacySerializable.cs Update licence header (and remove year) 2019-01-24 17:43:03 +09:00
SerializationReader.cs Locally suppress warning in SerializationReader 2021-05-14 23:29:34 +02:00
SerializationWriter.cs Use type switch in SearializationWriter. 2020-01-27 21:49:34 +08:00