kevin-montrose / Cesil

Modern CSV (De)Serializer
MIT License
65 stars 3 forks source link

Check conventions with Roslyn analyzers #17

Closed kevin-montrose closed 4 years ago

kevin-montrose commented 4 years ago

There are a couple conventions in Cesil that should be checked by analyzers, rather than either a) not being checked or b) checked in tests with janky reflection.

They are (at time of writing):

There may be others to add in the future, but this is a good start.

It's possible to provide an analyzer as a project, so the path forward here is creating a Cesil.Analyzers project and referencing it from the main Cesil project.

kevin-montrose commented 4 years ago

Addressed by #20.