From b491d634bb793447bf0dbe87eb70a03c4e75bbe1 Mon Sep 17 00:00:00 2001 From: Steve Harter Date: Mon, 3 May 2021 11:03:17 -0500 Subject: [PATCH] Remove unused string resources from System.Text.Json (#52005) --- .../src/Resources/Strings.resx | 24 ------------------- 1 file changed, 24 deletions(-) diff --git a/src/libraries/System.Text.Json/src/Resources/Strings.resx b/src/libraries/System.Text.Json/src/Resources/Strings.resx index e95458c23aa61..c68c367bd3af8 100644 --- a/src/libraries/System.Text.Json/src/Resources/Strings.resx +++ b/src/libraries/System.Text.Json/src/Resources/Strings.resx @@ -345,9 +345,6 @@ The JSON property name for '{0}.{1}' cannot be null. - - An item with the same property name '{0}' has already been added. - The data extension property '{0}.{1}' does not match the required signature of 'IDictionary<string, JsonElement>', 'IDictionary<string, object>' or 'JsonObject'. @@ -423,30 +420,9 @@ A possible object cycle was detected. This can either be due to a cycle or if the object depth is larger than the maximum allowed depth of {0}. Consider using ReferenceHandler.Preserve on JsonSerializerOptions to support cycles. - - Expected a number, but instead got empty string. - - - Property with name '{0}' already exists. - - - Property with name '{0}' not found. - - - Property with name '{0}' has a different type than expected. - - - The DuplicatePropertyNameHandling enum must be set to one of the supported values. - Invalid leading zero before '{0}'. - - The JSON array was modified during iteration. - - - This JsonElement instance was not built from a JsonNode and is immutable. - Cannot parse a JSON object containing metadata properties like '$id' into an array or immutable collection type. Type '{0}'.