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 objects 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.
The resource stream is a
HashTableofstringtoobject. While we supportHashTableinBinaryFormattedObjectrelated code, it's currently only for primitives and strings. We would need to look into whatobjects get added typically to fully understand this and characterize how useful the currentHashTablesupport is and whether or not we could add coverage for other types to make it useful. (Say, an embeddedbyte[].)It is entirely possible that we may be stuck with
BinaryFormatterfor runtime design scenarios.