Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

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