Skip to content

Commit 0a98f0c

Browse files
authored
Fix mismatched paramrefs for System.NET (#10905)
1 parent 19dcc4f commit 0a98f0c

26 files changed

+2261
-2308
lines changed

xml/System.Net.Http.Headers/HttpHeaders.xml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -144,17 +144,17 @@
144144
<param name="values">A list of header values to add to the collection.</param>
145145
<summary>Adds the specified header and its values into the <see cref="T:System.Net.Http.Headers.HttpHeaders" /> collection.</summary>
146146
<remarks>
147-
<format type="text/markdown"><![CDATA[
148-
149-
## Remarks
150-
Header names are enforced to be valid HTTP tokens, where a token is defined as any set of ASCII letters, digits, or symbols from the ``"!#$%&'*+-.^_`|~"`` set, matching [RFC9110](https://www.rfc-editor.org/rfc/rfc9110.html#name-collected-abnf)'s definition. Non-ASCII characters are not allowed in a header name.
147+
<format type="text/markdown"><![CDATA[
148+
149+
## Remarks
150+
Header names are enforced to be valid HTTP tokens, where a token is defined as any set of ASCII letters, digits, or symbols from the ``"!#$%&'*+-.^_`|~"`` set, matching [RFC9110](https://www.rfc-editor.org/rfc/rfc9110.html#name-collected-abnf)'s definition. Non-ASCII characters are not allowed in a header name.
151+
152+
The header `values` will be parsed and validated.
153+
154+
If the specified header does not exist, the <xref:System.Net.Http.Headers.HttpHeaders.Add%2A> method inserts a new header into the list of header name/value pairs.
155+
156+
If the specified header is already present, `values` are added to the comma-separated list of values associated with the header.
151157
152-
The header `values` will be parsed and validated.
153-
154-
If the specified header does not exist, the <xref:System.Net.Http.Headers.HttpHeaders.Add%2A> method inserts a new header into the list of header name/value pairs.
155-
156-
If the specified header is already present, `values` are added to the comma-separated list of values associated with the header.
157-
158158
]]></format>
159159
</remarks>
160160
<exception cref="T:System.ArgumentException">The name cannot be null or empty.</exception>
@@ -215,17 +215,17 @@ The header value format is invalid for this header name, or the header does not
215215
<param name="value">The content of the header.</param>
216216
<summary>Adds the specified header and its value into the <see cref="T:System.Net.Http.Headers.HttpHeaders" /> collection.</summary>
217217
<remarks>
218-
<format type="text/markdown"><![CDATA[
219-
220-
## Remarks
221-
Header names are enforced to be valid HTTP tokens, where a token is defined as any set of ASCII letters, digits, or symbols from the ``"!#$%&'*+-.^_`|~"`` set, matching [RFC9110](https://www.rfc-editor.org/rfc/rfc9110.html#name-collected-abnf)'s definition. Non-ASCII characters are not allowed in a header name.
218+
<format type="text/markdown"><![CDATA[
219+
220+
## Remarks
221+
Header names are enforced to be valid HTTP tokens, where a token is defined as any set of ASCII letters, digits, or symbols from the ``"!#$%&'*+-.^_`|~"`` set, matching [RFC9110](https://www.rfc-editor.org/rfc/rfc9110.html#name-collected-abnf)'s definition. Non-ASCII characters are not allowed in a header name.
222+
223+
The header `values` will be parsed and validated.
224+
225+
If the specified header does not exist, the <xref:System.Net.Http.Headers.HttpHeaders.Add%2A> method inserts a new header into the list of header name/value pairs.
226+
227+
If the specified header is already present, `value` is added to the comma-separated list of values associated with the header.
222228
223-
The header `values` will be parsed and validated.
224-
225-
If the specified header does not exist, the <xref:System.Net.Http.Headers.HttpHeaders.Add%2A> method inserts a new header into the list of header name/value pairs.
226-
227-
If the specified header is already present, `value` is added to the comma-separated list of values associated with the header.
228-
229229
]]></format>
230230
</remarks>
231231
<exception cref="T:System.ArgumentException">The name cannot be null or empty.</exception>
@@ -471,7 +471,7 @@ The header value format is invalid for this header name, or the header does not
471471
<param name="name">The name of the header to remove from the collection.</param>
472472
<summary>Removes the specified header from the <see cref="T:System.Net.Http.Headers.HttpHeaders" /> collection.</summary>
473473
<returns>
474-
<see langword="true" /> if <paramref name="name" /> is successfully removed; otherwise, <see langword="false" />. This method also returns <see langword="false" /> if <paramref name="item" /> was not found in the <see cref="T:System.Net.Http.Headers.HttpHeaders" /> collection or if <paramref name="item" /> is <see langword="null" />.
474+
<see langword="true" /> if <paramref name="name" /> is successfully removed; otherwise, <see langword="false" />. This method also returns <see langword="false" /> if <paramref name="name" /> was not found in the <see cref="T:System.Net.Http.Headers.HttpHeaders" /> collection or if <paramref name="name" /> is <see langword="null" />.
475475
</returns>
476476
<remarks>To be added.</remarks>
477477
</Docs>

0 commit comments

Comments
 (0)