Skip to content

Commit b91bfc8

Browse files
committed
Minor code edits
1 parent 1fd9695 commit b91bfc8

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

CBOR/PeterO/Cbor/CharacterReader.cs

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public CharacterReader(string str) : this(str, false, false) {
3737
// string.</param>
3838
// <param name='skipByteOrderMark'>If true and the first character in
3939
// the string is U+FEFF, skip that character.</param>
40-
// <exception cref='ArgumentNullException'>The parameter <paramref
40+
// <exception cref="ArgumentNullException">The parameter <paramref
4141
// name='str'/> is null.</exception>
4242
public CharacterReader(string str, bool skipByteOrderMark)
4343
: this(str, skipByteOrderMark, false) {
@@ -52,7 +52,7 @@ public CharacterReader(string str, bool skipByteOrderMark)
5252
// <param name='errorThrow'>When encountering invalid encoding, throw
5353
// an exception if this parameter is true, or replace it with U+FFFD
5454
// (replacement character) if this parameter is false.</param>
55-
// <exception cref='ArgumentNullException'>The parameter <paramref
55+
// <exception cref="ArgumentNullException">The parameter <paramref
5656
// name='str'/> is null.</exception>
5757
public CharacterReader(
5858
string str,
@@ -80,12 +80,12 @@ public CharacterReader(
8080
// <param name='length'>The length, in code units, of the desired
8181
// portion of <paramref name='str'/> (but not more than <paramref
8282
// name='str'/> 's length).</param>
83-
// <exception cref='ArgumentException'>Either &#x22;offset&#x22; or
83+
// <exception cref="ArgumentException">Either &#x22;offset&#x22; or
8484
// &#x22;length&#x22; is less than 0 or greater than
8585
// &#x22;str&#x22;&#x27;s length, or &#x22;str&#x22;&#x27;s length
8686
// minus &#x22;offset&#x22; is less than
8787
// &#x22;length&#x22;.</exception>
88-
// <exception cref='ArgumentNullException'>The parameter <paramref
88+
// <exception cref="ArgumentNullException">The parameter <paramref
8989
// name='str'/> is null.</exception>
9090
public CharacterReader(string str, int offset, int length)
9191
: this(str, offset, length, false, false) {
@@ -105,9 +105,9 @@ public CharacterReader(string str, int offset, int length)
105105
// <param name='errorThrow'>When encountering invalid encoding, throw
106106
// an exception if this parameter is true, or replace it with U+FFFD
107107
// (replacement character) if this parameter is false.</param>
108-
// <exception cref='ArgumentNullException'>The parameter <paramref
108+
// <exception cref="ArgumentNullException">The parameter <paramref
109109
// name='str'/> is null.</exception>
110-
// <exception cref='ArgumentException'>Either <paramref
110+
// <exception cref="ArgumentException">Either <paramref
111111
// name='offset'/> or <paramref name='length'/> is less than 0 or
112112
// greater than <paramref name='str'/> 's length, or <paramref
113113
// name='str'/> 's length minus <paramref name='offset'/> is less than
@@ -157,7 +157,7 @@ public CharacterReader(
157157
// first in the stream, and replace invalid byte sequences with
158158
// replacement characters (U+FFFD).</summary>
159159
// <param name='stream'>A readable data stream.</param>
160-
// <exception cref='ArgumentNullException'>The parameter <paramref
160+
// <exception cref="ArgumentNullException">The parameter <paramref
161161
// name='stream'/> is null.</exception>
162162
public CharacterReader(Stream stream) : this(stream, 0, false) {
163163
}
@@ -208,7 +208,7 @@ public CharacterReader(Stream stream, int mode, bool errorThrow)
208208
// <item>3: Detect UTF-16 using BOM, otherwise UTF-8.</item>
209209
// <item>4: Detect UTF-16/UTF-32 using BOM, otherwise UTF-8. (Tries to
210210
// detect UTF-32 first.)</item></list>.</param>
211-
// <exception cref='ArgumentNullException'>The parameter <paramref
211+
// <exception cref="ArgumentNullException">The parameter <paramref
212212
// name='stream'/> is null.</exception>
213213
public CharacterReader(Stream stream, int mode)
214214
: this(stream, mode, false, false) {
@@ -239,7 +239,7 @@ public CharacterReader(Stream stream, int mode)
239239
// (including when "mode" is 0) and this parameter is <c>true</c>,
240240
// won't skip the BOM character if it occurs at the start of the
241241
// stream.</param>
242-
// <exception cref='ArgumentNullException'>The parameter <paramref
242+
// <exception cref="ArgumentNullException">The parameter <paramref
243243
// name='stream'/> is null.</exception>
244244
public CharacterReader(
245245
Stream stream,
@@ -273,9 +273,9 @@ private interface IByteReader {
273273
// <returns>The number of code points read from the stream. This can
274274
// be less than the <paramref name='length'/> parameter if the end of
275275
// the stream is reached.</returns>
276-
// <exception cref='ArgumentNullException'>The parameter <paramref
276+
// <exception cref="ArgumentNullException">The parameter <paramref
277277
// name='chars'/> is null.</exception>
278-
// <exception cref='ArgumentException'>Either <paramref name='index'/>
278+
// <exception cref="ArgumentException">Either <paramref name='index'/>
279279
// or <paramref name='length'/> is less than 0 or greater than
280280
// <paramref name='chars'/> 's length, or <paramref name='chars'/> 's
281281
// length minus <paramref name='index'/> is less than <paramref

0 commit comments

Comments
 (0)