doc-partial-summary-text
What it does
Section titled “What it does”Reports a partial type or method whose <summary> (or <content>) has no text. Each part is checked on its own. No fix.
Why it matters
Section titled “Why it matters”An empty summary is shown in a list or a hover as no description, and it hides that nobody wrote one.
To fix, write the summary.
Example
Section titled “Example”.../// <remarks>Partial without summary.</remarks>.../// <summary></summary>public partial class PartialEmptySummary { }/// <content>Content.</content>public partial class PartialContent { }/// <content></content>public partial class PartialEmptyContent { }/// <inheritdoc />public partial class PartialInherited { }...Configuration
Section titled “Configuration”csharp: lint: rules: doc-partial-summary-text: warn # off (default), warn, errorEnabled by the presets: csharp/stylecop.
Suppress one line with sudsy-disable-next-line doc-partial-summary-text in a comment of the file’s language.
Upstream equivalents
Section titled “Upstream equivalents”The same check in other tools. full: Sudsy reports what the upstream rule reports; partial: only part of it, as the last column says.
| Tool | Rule | Match | What differs |
|---|---|---|---|
| StyleCop | SA1607 |
partial | each part is checked on its own; StyleCop’s partial rules also read the other parts through the project |