Skip to content

Conversation

eiriktsarpalis
Copy link
Member

Since the introduction of System.Collection.Generic.OrderedDictionary in .NET 9, JsonObject has been using two separate implementations of ordered dictionary: the built-in collection for net9.0 and a bespoke implementation for older targets. This PR removes the bespoke implementation and backports the new collection type to the older targets.

<IsPartialFacadeAssembly>true</IsPartialFacadeAssembly>
<ContractTypesPartiallyMoved>true</ContractTypesPartiallyMoved>
<UseCompilerGeneratedDocXmlFile>false</UseCompilerGeneratedDocXmlFile>
<DefineConstants>SYSTEM_COLLECTIONS;$(DefineConstants)</DefineConstants>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Constant follows naming convention of SYSTEM_PRIVATE_CORELIB

Copy link
Contributor

Tagging subscribers to this area: @dotnet/area-system-text-json, @gregsdennis
See info in area-owners.md if you want to be subscribed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants