From cc30a3de60d7d01dfedcd2bf8325ed6df8446d11 Mon Sep 17 00:00:00 2001 From: Genevieve Warren <24882762+gewarren@users.noreply.github.com> Date: Fri, 18 Oct 2024 12:21:03 -0700 Subject: [PATCH 1/2] Fix displayed text --- xml/System.Text.Json.Serialization/JsonSourceGenerationMode.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xml/System.Text.Json.Serialization/JsonSourceGenerationMode.xml b/xml/System.Text.Json.Serialization/JsonSourceGenerationMode.xml index 26917fed2bf..49629059325 100644 --- a/xml/System.Text.Json.Serialization/JsonSourceGenerationMode.xml +++ b/xml/System.Text.Json.Serialization/JsonSourceGenerationMode.xml @@ -44,7 +44,7 @@ 0 - When specified on , indicates that both type-metadata initialization logic and optimized serialization logic should be generated for all types. When specified on , indicates that the setting on should be used. + When specified on , indicates that both type-metadata initialization logic and optimized serialization logic should be generated for all types. When specified on JsonSerializableAttribute.GenerationMode, indicates that the setting on JsonSourceGenerationOptionsAttribute.GenerationMode should be used. From 1fa54e9c1a8146e15acb42d685024e6ac99f4897 Mon Sep 17 00:00:00 2001 From: Genevieve Warren <24882762+gewarren@users.noreply.github.com> Date: Fri, 18 Oct 2024 12:23:38 -0700 Subject: [PATCH 2/2] Update xml/System.Text.Json.Serialization/JsonSourceGenerationMode.xml --- xml/System.Text.Json.Serialization/JsonSourceGenerationMode.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xml/System.Text.Json.Serialization/JsonSourceGenerationMode.xml b/xml/System.Text.Json.Serialization/JsonSourceGenerationMode.xml index 49629059325..dca9cfbcd4d 100644 --- a/xml/System.Text.Json.Serialization/JsonSourceGenerationMode.xml +++ b/xml/System.Text.Json.Serialization/JsonSourceGenerationMode.xml @@ -44,7 +44,7 @@ 0 - When specified on , indicates that both type-metadata initialization logic and optimized serialization logic should be generated for all types. When specified on JsonSerializableAttribute.GenerationMode, indicates that the setting on JsonSourceGenerationOptionsAttribute.GenerationMode should be used. + When specified on JsonSourceGenerationOptionsAttribute.GenerationMode, indicates that both type-metadata initialization logic and optimized serialization logic should be generated for all types. When specified on JsonSerializableAttribute.GenerationMode, indicates that the setting on JsonSourceGenerationOptionsAttribute.GenerationMode should be used.