dotnet / dotnet/winforms

Look at limiting BinaryFormatter usage with CodeDomSerializationStore

Open
#9,428 3 comments 1 reaction 0 assignees View on GitHub
area-Serialization-BinaryFormatter-FeatureWork
Dominant language
C#
Stars
4.9k
Forks
1.1k
Avg merge
20h 23m
Merged PRs (30d)
103

Description

The resource stream is a `HashTable` of `string` to `object`. While we support `HashTable` in `BinaryFormattedObject` related code, it's currently only for primitives and strings. We would need to look into what `object`s get added typically to fully understand this and characterize how useful the current `HashTable` support is and whether or not we could add coverage for other types to make it useful. (Say, an embedded `byte[]`.)

It is entirely possible that we may be stuck with `BinaryFormatter` for runtime design scenarios.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.