diff options
author | Viktor Hofer <viktor.hofer@outlook.com> | 2017-07-31 15:50:42 +0300 |
---|---|---|
committer | Viktor Hofer <viktor.hofer@outlook.com> | 2017-08-04 23:12:14 +0300 |
commit | 1555a9567cab884fa203c25f8f05b091198e8c84 (patch) | |
tree | 1b98470e3bbae506d6d657196a3cda03925c3cf7 | |
parent | 40fe6d9875f89cebbc18ff53371f1df8b7079e4a (diff) |
Fixing System.Collections serialization uapaot tests
-rw-r--r-- | src/System.Collections/tests/Resources/System.Collections.Tests.rd.xml | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/System.Collections/tests/Resources/System.Collections.Tests.rd.xml b/src/System.Collections/tests/Resources/System.Collections.Tests.rd.xml index f6324cbb63..4068c7ce1f 100644 --- a/src/System.Collections/tests/Resources/System.Collections.Tests.rd.xml +++ b/src/System.Collections/tests/Resources/System.Collections.Tests.rd.xml @@ -2,10 +2,14 @@ <Directives xmlns="http://schemas.microsoft.com/netfx/2013/01/metadata"> <Library Name="System.Collections.Tests"> <Assembly Name="*Application*" DoNotInline="true" DoNotOptimize="true" /> - <Assembly Name="System.Collections" DoNotInline="true" DoNotOptimize="true" /> + <Assembly Name="System.Collections" BinaryFormatter="All" Dynamic="Required All" DoNotInline="true" DoNotOptimize="true" /> <!-- Needed because test code calls IsSerializable on these types --> <Type Name="System.Collections.Generic.SortedList`2" Browse="Required Public" /> - <Type Name="System.Collections.Generic.SortedDictionary`2" Browse="Required Public" /> + <Type Name="System.Collections.Generic.SortedDictionary`2" Browse="Required Public"> + <Field Name="_set" Dynamic="Required" /> + </Type> + <Type Name="System.Collections.Generic.SortedList`2" Dynamic="Required All" /> + <Type Name="System.Collections.ObjectModel.ReadOnlyCollection`1" Dynamic="Required All" /> </Library> </Directives> |