no-default-summary
What it does
Section titled “What it does”Reports a <summary> that starts with the text Visual Studio generates, “Summary description for …”. A comment with <inheritdoc /> is not reported. No fix.
Why it matters
Section titled “Why it matters”The text is a placeholder that the tool inserts. It stays in the generated documentation as a sentence that says nothing about the element.
To fix, write the real summary.
Example
Section titled “Example”...}/// <summary>Summary description for Defaults.</summary>public class Defaults{ /// <summary> /// Summary description for Method. /// </summary>... /// <summary>summary description for lower case</summary> public void LowerCase() { } /// <summary> /// Summary description for indented. /// </summary>.../// <inheritdoc />public partial class PartialInherited { }/// <summary>Summary description for PartialDefault.</summary>public partial class PartialDefault { }/// <remarks>Internal partial.</remarks>...Configuration
Section titled “Configuration”csharp: lint: rules: no-default-summary: warn # off (default), warn, errorEnabled by the presets: csharp/stylecop.
Suppress one line with sudsy-disable-next-line no-default-summary in a comment of the file’s language.
Upstream equivalents
Section titled “Upstream equivalents”The same check in other tools; Sudsy reports what each upstream rule reports.
| Tool | Rule | Match |
|---|---|---|
| StyleCop | SA1608 |
full |