System.Xml.XmlSerializer Perf tests failing
@khdang when I run
msbuild /t:BuildAndTest src\System.Xml.XmlSerializer\tests\System.Xml.XmlSerializer.Tests.csproj /p:Performance=true
there seem to be some exceptions being thrown
System.Xml.XmlSerializer.Tests.Performance.XsPerformanceTest.XsSerializationTest(numberOfRuns: 1000, testType: Dictionary, testSize: 128) [FAIL] System.NotSupportedException : The type System.Collections.Generic.Dictionary2[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, mscorlib, Version=4.0.0.0, Culture=neutr
al, PublicKeyToken=7cec85d7bea7798e]] is not supported because it implements IDictionary.`
Could you take a look and fix this
I'll fix this. This issue is the same as dotnet/runtime#16930.