You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The System.Obsolete attribute has prevented serialization of fields and properties being serialized by the XMLSerializer since .NET 3.5 (see https://weblogs.asp.net/psteele/xml-serialization-and-the-obsolete-attribute). As of .net core 6 and presumably 7 and 8, this is still true of the XMLSerializer class.
I can't find this documented anywhere in the documentation for the XMLSerializer. This document seems like the logical place to mention the interaction with the Obsolete attribute.
Type of issue
Missing information
Description
The System.Obsolete attribute has prevented serialization of fields and properties being serialized by the XMLSerializer since .NET 3.5 (see https://weblogs.asp.net/psteele/xml-serialization-and-the-obsolete-attribute). As of .net core 6 and presumably 7 and 8, this is still true of the XMLSerializer class.
I can't find this documented anywhere in the documentation for the XMLSerializer. This document seems like the logical place to mention the interaction with the Obsolete attribute.
I want to propose the following change: alundporchsoftware@dd992f6
Page URL
https://learn.microsoft.com/en-us/dotnet/standard/serialization/attributes-that-control-xml-serialization
Content source URL
https://github.com/dotnet/docs/blob/main/docs/standard/serialization/attributes-that-control-xml-serialization.md
Document Version Independent Id
f0e557a3-1410-671b-2143-098c79540a58
Article author
@gewarren
Metadata
The text was updated successfully, but these errors were encountered: