-
Notifications
You must be signed in to change notification settings - Fork 2k
Expand file tree
/
Copy pathXmldocExtraTypeParam.qhelp
More file actions
39 lines (29 loc) · 1.14 KB
/
XmldocExtraTypeParam.qhelp
File metadata and controls
39 lines (29 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<!DOCTYPE qhelp PUBLIC
"-//Semmle//qhelp//EN"
"qhelp.dtd">
<qhelp>
<overview>
<p>
Documentation comments for public classes and methods should use the <code><typeparam></code> tag to
describe the available type parameters. If the comment includes any empty, incorrect or outdated parameter
names then this will make the documentation more difficult to read.
</p>
</overview>
<recommendation>
<p>The documentation comment for a class or method should always use non-empty <code><typeparam></code>
tags that match actual parameter names.</p>
</recommendation>
<example>
<p>The following example shows some examples of correct and incorrect ways to document type parameters.
parameter.</p>
<sample src="XmldocTypeParam.cs" />
</example>
<references>
<li>
MSDN, C# Programming Guide:
<a href="http://msdn.microsoft.com/en-us/library/b2s063f7.aspx">XML Documentation Comments</a>,
<a href="http://msdn.microsoft.com/en-us/library/z04awywx.aspx">How to: Use the XML Documentation Features</a>,
<a href="http://msdn.microsoft.com/en-us/library/5ast78ax.aspx">Recommended Tags for Documentation Comments</a>.
</li>
</references>
</qhelp>