no-doc-placeholder
What it does
Section titled “What it does”Reports a <placeholder> element in a documentation comment. No fix.
Why it matters
Section titled “Why it matters”<placeholder> marks text that is to be filled in later, so a comment that has one is not finished.
To fix, write the text.
Example
Section titled “Example”...public class Placeholders{ /// <summary> /// <placeholder>todo</placeholder> /// <placeholder /> /// </summary> public void Placeholder() { } /// <placeholder>todo</placeholder> private int Hidden; /// <summary> /// <para><placeholder>nested</placeholder></para> /// </summary> public int Nested;}...public class Placeholders{ /// <summary> /// <placeholder>todo</placeholder> /// <placeholder /> /// </summary> public void Placeholder() { } /// <placeholder>todo.</placeholder> private int Hidden; /// <summary> /// <para><placeholder>nested</placeholder></para> /// </summary> public int Nested;}Configuration
Section titled “Configuration”csharp: lint: rules: no-doc-placeholder: warn # off (default), warn, errorEnabled by the presets: csharp/stylecop.
Suppress one line with sudsy-disable-next-line no-doc-placeholder 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 | SA1651 |
full |