Skip to content

XmlSerializer: Example in Dynamically Generated Assemblies uses not Recommended classes #8747

Open
@Timo-Weike

Description

@Timo-Weike

The section "Dynamically Generated Assemblies" in the remarks section of the documentation for XmlSerializer uses the not recommended class Hashtable.

Also I suggest that the documentation for the constructors (i.e. this) reiterates the info about the possible memory leak if not reused or at least link to the section mentioned above.

See this as an example where this unclear documentation lead to a major memory leak in the popular RestSharp package.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions