Skip to content

Commit b8ff802

Browse files
Fix the incorrect code comment in DetermineCreateObjectDelegate (#115038)
Co-authored-by: Eirik Tsarpalis <eirik.tsarpalis@gmail.com>
1 parent e83ee5b commit b8ff802

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libraries/System.Text.Json/src/System/Text/Json/Serialization/Metadata/DefaultJsonTypeInfoResolver.Helpers.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ internal static void DeterminePropertyAccessors<T>(JsonPropertyInfo<T> jsonPrope
455455
if (converter.ConstructorInfo != null && !converter.ConstructorIsParameterized)
456456
{
457457
// A parameterless constructor has been resolved by the converter
458-
// (e.g. it might be a non-public ctor with JsonConverterAttribute).
458+
// (e.g. it might be a non-public ctor with JsonConstructorAttribute).
459459
defaultCtor = converter.ConstructorInfo;
460460
}
461461

0 commit comments

Comments
 (0)