Files
dotnet-runtime/src/libraries/System.Runtime.Serialization.Formatters/tests
Morgan Brown ec6630c262 Fix BinaryFormatter AoT test differences (dotnet/corefx#22461)
* Fix serialization tests to handle a couple of AoT differences:
1. AoT doesn't return ByteEqualityComparer from EqualityComparer<byte>.Default, so create it with reflection instead
2. CoreCLR changes the _version field of List differently than both AoT and NetFX, so pass arrays to the IEnumerable constructor of a few collections, which causes the _version fields to agree. Also updates the stored blobs to reflect this.


Commit migrated from https://github.com/dotnet/corefx/commit/7639beea9ff8be752b46bbe084093cd43bec6e35
2017-07-20 11:47:52 -07:00
..
2017-03-27 15:33:55 -07:00