-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compat work for Serialization #17671
Comments
Also see #17073 |
Remaining work:
|
@stephentoub do you know who is working on this? |
At the moment, no one, at least not with a specific serialiation focus. In many places, it's happening organically as part of folks bringing up other components and adding back members, at which point they're adding back the relevant ones here. At one point I'd written/run a little tool to mark the types that were in corefx that needed to be made serializable. This is out-of-date now, and some of this has already been done, but it'll help to highlight many of the places that need serialization work in corefx: Please feel free to pick it up and run with it. I'd shelved this as the big blocker was that many of the involved projects hadn't yet been upgraded to netstandard1.7, which makes it a much bigger task. @ericstj was looking at making a pass through the repo to address that, at which point this should be easier. |
Types missing ISerializable are tracked in https://github.com/dotnet/corefx/issues/12669 I'm wondering about [Serializable] attribute. That doesn't show up in the ref assys unfortunately. |
[Serializable] tracked by https://github.com/dotnet/corefx/issues/12725 I don't think we need issues for CoreRT work. 80% CodeCoverage seems pretty good compared to much of CoreFX so probably not worth tracking. @stephentoub any missing tests you had in mind? If not let's close this issue now |
Just note that for a type to be serializable, it must be [Serializable], but it may have additional serialization-related implementation, and some of that may not be visible by tracking missing members, e.g. there are [OnSerialized], [OnDeserialized], etc. attributes that can be used with [Serializable] and that wouldn't show up in a missing-member scan. We can still track the missing serialization work via [Serializable], but whoever does that work just needs to be aware that there may be things elsewhere in the class being attributed that needs to be fixed, too.
Ok
There are two categories:
I'm ok closing this for the first one, as I don't have any specific cases in mind, just that we're not hitting 20% of BinaryFormatter's implementation, which is much more than I'd like. For the second, I'm also ok not tracking it here, as long as whoever adds each [Serializable] implementation adds appropriate tests with it. |
Devise our plan for increasing compatibility with serialization, and break out the work.
The text was updated successfully, but these errors were encountered: