zaimoni / RSRevived

30 stars 3 forks source link

Reimplement System.Runtime.Serialization #16

Open zaimoni opened 3 years ago

zaimoni commented 3 years ago

Starting with .NET 5.0, this is explicitly deprecated (there is a compiler warning). Given the track record elsewhere, there is no way an outsider can rule out an intentional removal as early as .NET 6.0 with no viable replacement options. Newtonsoft's BSON is documented as feature-incomplete.

Fortunately, C# 9.0 introduced source code generators.

zaimoni commented 3 years ago

Unsure how much integrated source code generation will help here.

This was already attempted once, against .NET Core 2.0 -- it did not stick, then.