doc-partial-summary-required
What it does
Section titled “What it does”Reports a documentation comment of a partial type or method that has no <summary> or <content> (and no <inheritdoc />). Each part is checked on its own. No fix.
Why it matters
Section titled “Why it matters”The summary is the part of the comment that tools show in a list or a hover. A comment of a partial type without it is shown with no description.
To fix, add a <summary>.
Example
Section titled “Example”... public override string ToString() => "";}/// <remarks>Partial without summary.</remarks>public partial class PartialNoSummary { }/// <summary></summary>.../// <content>Content.</content>...public partial class PartialDefault { }/// <remarks>Internal partial.</remarks>internal partial struct PartialInternal { }...Configuration
Section titled “Configuration”csharp: lint: rules: doc-partial-summary-required: warn # off (default), warn, errorEnabled by the presets: csharp/stylecop.
Suppress one line with sudsy-disable-next-line doc-partial-summary-required 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 | SA1605 |
partial | each part of a partial type or method needs its own summary here; StyleCop reads the same per-part comment, but SA1601’s cross-part acceptance is not available (see SA1601) |