-
Notifications
You must be signed in to change notification settings - Fork 2k
Expand file tree
/
Copy pathXmldocMissingTypeParam.qhelp
More file actions
37 lines (27 loc) · 1019 Bytes
/
XmldocMissingTypeParam.qhelp
File metadata and controls
37 lines (27 loc) · 1019 Bytes
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
<!DOCTYPE qhelp PUBLIC
"-//Semmle//qhelp//EN"
"qhelp.dtd">
<qhelp>
<overview>
<p>
A public method that does not have a <code><typeparam></code> tag for each parameter
makes an API more difficult to understand and maintain.</p>
</overview>
<recommendation>
<p>The documentation comment for a class or method should include <code><typeparam></code> tags
that describe each type parameter.</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>