Currently the header used in source files is not validated as part of the build. An existing (third-party) analyzer rule provides the ability to combine this validation with a code fix that inserts/corrects the header as necessary. Adopting this analyzer would be helpful for a few reasons:
- It helps ensure files have the expected headers
- It helps Roslyn developers working on the IDE experience understand the desired behavior of additional analyzers and code fixes
- It defers the work on this particular code style feature so we can better consider the design choices to make it relevant to a broad audience
Currently the header used in source files is not validated as part of the build. An existing (third-party) analyzer rule provides the ability to combine this validation with a code fix that inserts/corrects the header as necessary. Adopting this analyzer would be helpful for a few reasons: