Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public enum JsonIgnoreCondition
WhenWritingDefault = 2,
/// <summary>
/// If the value is <see langword="null"/>, the property is ignored during serialization.
/// This is applied only to reference-type properties and fields.
/// This is applied only to reference and nullable value-type properties and fields.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not keep simple?

Suggested change
/// This is applied only to reference and nullable value-type properties and fields.
/// This is applied only to nullable type properties and fields.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good, unless it can be misinterpreted as not applied to non-nullable reference types in context. WDYT?

/// </summary>
WhenWritingNull = 3,
/// <summary>
Expand Down
Loading