From 8e8a23e92892e28113bbb3b9bc0e555f057c0de9 Mon Sep 17 00:00:00 2001 From: Silencersn <78655141+Silencersn@users.noreply.github.com> Date: Fri, 25 Apr 2025 17:23:39 +0800 Subject: [PATCH] Fix the incorrect code comment in DetermineCreateObjectDelegate --- .../Metadata/DefaultJsonTypeInfoResolver.Helpers.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libraries/System.Text.Json/src/System/Text/Json/Serialization/Metadata/DefaultJsonTypeInfoResolver.Helpers.cs b/src/libraries/System.Text.Json/src/System/Text/Json/Serialization/Metadata/DefaultJsonTypeInfoResolver.Helpers.cs index 6d5c6acf32f289..d7aef7399c0b49 100644 --- a/src/libraries/System.Text.Json/src/System/Text/Json/Serialization/Metadata/DefaultJsonTypeInfoResolver.Helpers.cs +++ b/src/libraries/System.Text.Json/src/System/Text/Json/Serialization/Metadata/DefaultJsonTypeInfoResolver.Helpers.cs @@ -455,7 +455,7 @@ internal static void DeterminePropertyAccessors(JsonPropertyInfo jsonPrope if (converter.ConstructorInfo != null && !converter.ConstructorIsParameterized) { // A parameterless constructor has been resolved by the converter - // (e.g. it might be a non-public ctor with JsonConverterAttribute). + // (e.g. it might be a non-public ctor with JsonConstructorAttribute). defaultCtor = converter.ConstructorInfo; }