DotNetAnalyzers / DocumentationAnalyzers

Analyzers for XML documentation
MIT License
35 stars 6 forks source link

DOC203: Avoid using <code> as an inline element #30

Closed sharwell closed 6 years ago

sharwell commented 6 years ago

It's easy to confuse <c> (an inline element) with <code> (a block element). Report a warning when <code> appears as an inline element (e.g. within a <para> element or within paragraph text) and offer to convert it to <c>.