Skip to content

Commit

Permalink
_shouldSerializeIsExplicitlySet set to false when setting IgnoreCondi…
Browse files Browse the repository at this point in the history
…tion
  • Loading branch information
eiriktsarpalis committed Jul 1, 2022
1 parent 5224c38 commit b4b8e0c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ internal JsonIgnoreCondition? IgnoreCondition
_ignoreCondition = value;
IsIgnored = value == JsonIgnoreCondition.Always;
_shouldSerialize = value != null ? GetShouldSerializeForIgnoreCondition(value.Value) : null;
_shouldSerializeIsExplicitlySet = false;
}
}

Expand Down

0 comments on commit b4b8e0c

Please sign in to comment.