Skip to content

Files

Latest commit

e1c8f88 · Nov 9, 2022

History

History
24 lines (15 loc) · 564 Bytes

File metadata and controls

24 lines (15 loc) · 564 Bytes

OrderedDictionary becomes Hashtable

Fixed in 7.3.0

If an OrderedDictionary is exported by Export-Clixml and imported by Import-Clixml then it becomes a Hashtable. If the order of items is important (probably, as far as OrderedDictionary is used) then this is definitely a problem.

The script Test-OrderedDictionary.ps1 shows the problem.

Actual output:

OrderedDictionary
Hashtable

Expected output:

OrderedDictionary
OrderedDictionary

  • Microsoft Connect 771721