Apparently NetSerializer treats IDynamicTypeSerializer and IStaticTypeSerializer differently for sealed types?? (cherry-picked from 6bbeaeeba6, without the test changes) (cherry picked from commit d187018834dfa1cdead9ce5a7b72c38b07f8c81f)
6bbeaeeba6