未验证 提交 8c88d1d9 编写于 作者: E Eric Mutta 提交者: GitHub

Fix doc comment typo in JsonSerializerOptions.cs (#48590)

The following sentence in the doc comments for the `IgnoreReadOnlyFields` member:

> A property is read-only if it isn't marked with the <c>readonly</c> keyword.

Should read:

> A field is read-only if it is marked with the <c>readonly</c> keyword.
上级 5b5ac997
......@@ -313,7 +313,7 @@ public bool IgnoreReadOnlyProperties
/// <summary>
/// Determines whether read-only fields are ignored during serialization.
/// A property is read-only if it isn't marked with the <c>readonly</c> keyword.
/// A field is read-only if it is marked with the <c>readonly</c> keyword.
/// The default value is false.
/// </summary>
/// <remarks>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册