@@ -41,15 +41,15 @@ public static partial class AsnDecoder
4141 /// <paramref name="ruleSet"/> is not defined.
4242 /// </exception>
4343 /// <exception cref="AsnContentException">
44- /// the next value does not have the correct tag.
44+ /// The next value does not have the correct tag.
4545 ///
4646 /// -or-
4747 ///
48- /// the length encoding is not valid under the current encoding rules.
48+ /// The length encoding is not valid under the current encoding rules.
4949 ///
5050 /// -or-
5151 ///
52- /// the contents are not valid under the current encoding rules.
52+ /// The contents are not valid under the current encoding rules.
5353 /// </exception>
5454 /// <exception cref="ArgumentException">
5555 /// <paramref name="expectedTag"/>.<see cref="Asn1Tag.TagClass"/> is
@@ -122,24 +122,19 @@ public static bool TryReadPrimitiveBitString(
122122 /// value of the Bit String;
123123 /// otherwise, <see langword="false"/>.
124124 /// </returns>
125- /// <remarks>
126- /// The least significant bits in the last byte which are reported as "unused" by the
127- /// <paramref name="unusedBitCount"/> value will be copied into <paramref name="destination"/>
128- /// as unset bits, irrespective of their value in the encoded representation.
129- /// </remarks>
130125 /// <exception cref="ArgumentOutOfRangeException">
131126 /// <paramref name="ruleSet"/> is not defined.
132127 /// </exception>
133128 /// <exception cref="AsnContentException">
134- /// the next value does not have the correct tag.
129+ /// The next value does not have the correct tag.
135130 ///
136131 /// -or-
137132 ///
138- /// the length encoding is not valid under the current encoding rules.
133+ /// The length encoding is not valid under the current encoding rules.
139134 ///
140135 /// -or-
141136 ///
142- /// the contents are not valid under the current encoding rules.
137+ /// The contents are not valid under the current encoding rules.
143138 /// </exception>
144139 /// <exception cref="ArgumentException">
145140 /// <paramref name="expectedTag"/>.<see cref="Asn1Tag.TagClass"/> is
@@ -151,6 +146,11 @@ public static bool TryReadPrimitiveBitString(
151146 ///
152147 /// <paramref name="destination"/> overlaps <paramref name="source"/>.
153148 /// </exception>
149+ /// <remarks>
150+ /// The least significant bits in the last byte that are reported as "unused" by the
151+ /// <paramref name="unusedBitCount"/> value will be copied into <paramref name="destination"/>
152+ /// as unset bits, irrespective of their value in the encoded representation.
153+ /// </remarks>
154154 /// <seealso cref="TryReadPrimitiveBitString"/>
155155 /// <seealso cref="ReadBitString"/>
156156 public static bool TryReadBitString (
@@ -244,31 +244,31 @@ public static bool TryReadBitString(
244244 /// <returns>
245245 /// An array containing the contents of the Bit String value.
246246 /// </returns>
247- /// <remarks>
248- /// The least significant bits in the last byte which are reported as "unused" by the
249- /// <paramref name="unusedBitCount"/> value will be copied into the return value
250- /// as unset bits, irrespective of their value in the encoded representation.
251- /// </remarks>
252247 /// <exception cref="ArgumentOutOfRangeException">
253248 /// <paramref name="ruleSet"/> is not defined.
254249 /// </exception>
255250 /// <exception cref="AsnContentException">
256- /// the next value does not have the correct tag.
251+ /// The next value does not have the correct tag.
257252 ///
258253 /// -or-
259254 ///
260- /// the length encoding is not valid under the current encoding rules.
255+ /// The length encoding is not valid under the current encoding rules.
261256 ///
262257 /// -or-
263258 ///
264- /// the contents are not valid under the current encoding rules.
259+ /// The contents are not valid under the current encoding rules.
265260 /// </exception>
266261 /// <exception cref="ArgumentException">
267262 /// <paramref name="expectedTag"/>.<see cref="Asn1Tag.TagClass"/> is
268263 /// <see cref="TagClass.Universal"/>, but
269264 /// <paramref name="expectedTag"/>.<see cref="Asn1Tag.TagValue"/> is not correct for
270265 /// the method.
271266 /// </exception>
267+ /// <remarks>
268+ /// The least significant bits in the last byte that are reported as "unused" by the
269+ /// <paramref name="unusedBitCount"/> value will be copied into the return value
270+ /// as unset bits, irrespective of their value in the encoded representation.
271+ /// </remarks>
272272 /// <seealso cref="TryReadPrimitiveBitString"/>
273273 /// <seealso cref="TryReadBitString"/>
274274 public static byte [ ] ReadBitString (
@@ -696,15 +696,15 @@ public partial class AsnReader
696696 /// <see langword="false"/> and does not advance the reader if it had a constructed encoding.
697697 /// </returns>
698698 /// <exception cref="AsnContentException">
699- /// the next value does not have the correct tag.
699+ /// The next value does not have the correct tag.
700700 ///
701701 /// -or-
702702 ///
703- /// the length encoding is not valid under the current encoding rules.
703+ /// The length encoding is not valid under the current encoding rules.
704704 ///
705705 /// -or-
706706 ///
707- /// the contents are not valid under the current encoding rules.
707+ /// The contents are not valid under the current encoding rules.
708708 /// </exception>
709709 /// <exception cref="ArgumentException">
710710 /// <paramref name="expectedTag"/>.<see cref="Asn1Tag.TagClass"/> is
@@ -760,15 +760,15 @@ public bool TryReadPrimitiveBitString(
760760 /// <see langword="false"/> and the reader does not advance.
761761 /// </returns>
762762 /// <exception cref="AsnContentException">
763- /// the next value does not have the correct tag.
763+ /// The next value does not have the correct tag.
764764 ///
765765 /// -or-
766766 ///
767- /// the length encoding is not valid under the current encoding rules.
767+ /// The length encoding is not valid under the current encoding rules.
768768 ///
769769 /// -or-
770770 ///
771- /// the contents are not valid under the current encoding rules.
771+ /// The contents are not valid under the current encoding rules.
772772 /// </exception>
773773 /// <exception cref="ArgumentException">
774774 /// <paramref name="expectedTag"/>.<see cref="Asn1Tag.TagClass"/> is
@@ -816,15 +816,15 @@ public bool TryReadBitString(
816816 /// A copy of the value in a newly allocated, precisely sized, array.
817817 /// </returns>
818818 /// <exception cref="AsnContentException">
819- /// the next value does not have the correct tag.
819+ /// The next value does not have the correct tag.
820820 ///
821821 /// -or-
822822 ///
823- /// the length encoding is not valid under the current encoding rules.
823+ /// The length encoding is not valid under the current encoding rules.
824824 ///
825825 /// -or-
826826 ///
827- /// the contents are not valid under the current encoding rules.
827+ /// The contents are not valid under the current encoding rules.
828828 /// </exception>
829829 /// <exception cref="ArgumentException">
830830 /// <paramref name="expectedTag"/>.<see cref="Asn1Tag.TagClass"/> is
0 commit comments