From: Eric Erhardt Date: Mon, 18 May 2020 19:33:42 +0000 (-0500) Subject: Remove PreserveDependency on non-existing type (#36657) X-Git-Tag: submit/tizen/20210909.063632~7895 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b9275463428b6eebb16531aa20e36cfd9d20797f;p=platform%2Fupstream%2Fdotnet%2Fruntime.git Remove PreserveDependency on non-existing type (#36657) The DefaultArrayConverter type was been refactored away causing the linker to warn about it. --- diff --git a/src/libraries/System.Text.Json/src/System/Text/Json/Serialization/Converters/Collection/IEnumerableConverterFactory.cs b/src/libraries/System.Text.Json/src/System/Text/Json/Serialization/Converters/Collection/IEnumerableConverterFactory.cs index 27214b3..1a58ed8 100644 --- a/src/libraries/System.Text.Json/src/System/Text/Json/Serialization/Converters/Collection/IEnumerableConverterFactory.cs +++ b/src/libraries/System.Text.Json/src/System/Text/Json/Serialization/Converters/Collection/IEnumerableConverterFactory.cs @@ -28,7 +28,6 @@ namespace System.Text.Json.Serialization.Converters [PreserveDependency(".ctor", "System.Text.Json.Serialization.Converters.ArrayConverter`2")] [PreserveDependency(".ctor", "System.Text.Json.Serialization.Converters.ConcurrentQueueOfTConverter`2")] [PreserveDependency(".ctor", "System.Text.Json.Serialization.Converters.ConcurrentStackOfTConverter`2")] - [PreserveDependency(".ctor", "System.Text.Json.Serialization.Converters.DefaultArrayConverter`2")] [PreserveDependency(".ctor", "System.Text.Json.Serialization.Converters.DictionaryOfStringTValueConverter`2")] [PreserveDependency(".ctor", "System.Text.Json.Serialization.Converters.ICollectionOfTConverter`2")] [PreserveDependency(".ctor", "System.Text.Json.Serialization.Converters.IDictionaryOfStringTValueConverter`2")]