I created a class, with a member marked as a JsonProperty, and never explicitly referred to this member, but did JsonConvert.SerializeObject, which used it implicitly.
My compilation fails, however, claiminig that this member is defined and never used. (error CS0414: The field X is assigned but its value is never used) I suppos that I can suppress this error, but I am not sure that would be the correct solution.
Would appreciate your thoughts on the matter.