I have a C# project containing a certain number of classes used to serialize and deserialize data as JSON.
There are no actual uses for setters, or write to collections, in the available code, but every access is managed by JSON.Net.
I get a number of warnings about "Content of collection is never updated" or "Auto property accessor is never used", and similar errors for output types (types written by my code and then serialized by JSON.Net).
Can I disable this rules in a single C# project?
Basically I would like to turn the warnings off, but only in the Dto Project, and not in the rest of the solution.