Skip to content

Commit d317345

Browse files
authored
Correct note about ignoring read-only fields (#5081)
1 parent 4306b9c commit d317345

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xml/System.Text.Json/JsonSerializerOptions.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ For more information, see [Exclude all null value properties](/dotnet/standard/s
390390
<ReturnType>System.Boolean</ReturnType>
391391
</ReturnValue>
392392
<Docs>
393-
<summary>Determines whether read-only fields are ignored during serialization. A property is read-only if it isn't marked with the <see langword="readonly" /> keyword. The default value is <see langword="false" />.</summary>
393+
<summary>Determines whether read-only fields are ignored during serialization. A field is read-only if it is marked with the <see langword="readonly" /> keyword. The default value is <see langword="false" />.</summary>
394394
<value>
395395
<see langword="true" /> if read-only fields should be ignored during serialization; <see langword="false" /> otherwise.</value>
396396
<remarks>

0 commit comments

Comments
 (0)