-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Make System.Formats.Asn1 triple slash documentation the source of truth #108982
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 2 commits
336ebf9
2968b56
3421ba2
cf4a045
efa2fa2
747de52
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,15 +41,15 @@ public static partial class AsnDecoder | |
/// <paramref name="ruleSet"/> is not defined. | ||
/// </exception> | ||
/// <exception cref="AsnContentException"> | ||
/// the next value does not have the correct tag. | ||
/// The next value does not have the correct tag. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. These might need There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I see now that that would mean a lot of changes throughout this PR. I'm also fine with not adding them. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The porttotripleslash tool did not put <para> there, so I assumed it was not required. |
||
/// | ||
/// -or- | ||
/// | ||
/// the length encoding is not valid under the current encoding rules. | ||
/// The length encoding is not valid under the current encoding rules. | ||
/// | ||
/// -or- | ||
/// | ||
/// the contents are not valid under the current encoding rules. | ||
/// The contents are not valid under the current encoding rules. | ||
/// </exception> | ||
/// <exception cref="ArgumentException"> | ||
/// <paramref name="expectedTag"/>.<see cref="Asn1Tag.TagClass"/> is | ||
|
@@ -122,24 +122,19 @@ public static bool TryReadPrimitiveBitString( | |
/// value of the Bit String; | ||
/// otherwise, <see langword="false"/>. | ||
/// </returns> | ||
/// <remarks> | ||
/// The least significant bits in the last byte which are reported as "unused" by the | ||
/// <paramref name="unusedBitCount"/> value will be copied into <paramref name="destination"/> | ||
/// as unset bits, irrespective of their value in the encoded representation. | ||
/// </remarks> | ||
/// <exception cref="ArgumentOutOfRangeException"> | ||
/// <paramref name="ruleSet"/> is not defined. | ||
/// </exception> | ||
/// <exception cref="AsnContentException"> | ||
/// the next value does not have the correct tag. | ||
/// The next value does not have the correct tag. | ||
/// | ||
/// -or- | ||
/// | ||
/// the length encoding is not valid under the current encoding rules. | ||
/// The length encoding is not valid under the current encoding rules. | ||
/// | ||
/// -or- | ||
/// | ||
/// the contents are not valid under the current encoding rules. | ||
/// The contents are not valid under the current encoding rules. | ||
/// </exception> | ||
/// <exception cref="ArgumentException"> | ||
/// <paramref name="expectedTag"/>.<see cref="Asn1Tag.TagClass"/> is | ||
|
@@ -151,6 +146,11 @@ public static bool TryReadPrimitiveBitString( | |
/// | ||
/// <paramref name="destination"/> overlaps <paramref name="source"/>. | ||
/// </exception> | ||
/// <remarks> | ||
/// The least significant bits in the last byte which are reported as "unused" by the | ||
vcsjones marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
/// <paramref name="unusedBitCount"/> value will be copied into <paramref name="destination"/> | ||
/// as unset bits, irrespective of their value in the encoded representation. | ||
/// </remarks> | ||
/// <seealso cref="TryReadPrimitiveBitString"/> | ||
/// <seealso cref="ReadBitString"/> | ||
public static bool TryReadBitString( | ||
|
@@ -244,31 +244,31 @@ public static bool TryReadBitString( | |
/// <returns> | ||
/// An array containing the contents of the Bit String value. | ||
/// </returns> | ||
/// <remarks> | ||
/// The least significant bits in the last byte which are reported as "unused" by the | ||
/// <paramref name="unusedBitCount"/> value will be copied into the return value | ||
/// as unset bits, irrespective of their value in the encoded representation. | ||
/// </remarks> | ||
/// <exception cref="ArgumentOutOfRangeException"> | ||
/// <paramref name="ruleSet"/> is not defined. | ||
/// </exception> | ||
/// <exception cref="AsnContentException"> | ||
/// the next value does not have the correct tag. | ||
/// The next value does not have the correct tag. | ||
/// | ||
/// -or- | ||
/// | ||
/// the length encoding is not valid under the current encoding rules. | ||
/// The length encoding is not valid under the current encoding rules. | ||
/// | ||
/// -or- | ||
/// | ||
/// the contents are not valid under the current encoding rules. | ||
/// The contents are not valid under the current encoding rules. | ||
/// </exception> | ||
/// <exception cref="ArgumentException"> | ||
/// <paramref name="expectedTag"/>.<see cref="Asn1Tag.TagClass"/> is | ||
/// <see cref="TagClass.Universal"/>, but | ||
/// <paramref name="expectedTag"/>.<see cref="Asn1Tag.TagValue"/> is not correct for | ||
/// the method. | ||
/// </exception> | ||
/// <remarks> | ||
/// The least significant bits in the last byte which are reported as "unused" by the | ||
vcsjones marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
/// <paramref name="unusedBitCount"/> value will be copied into the return value | ||
/// as unset bits, irrespective of their value in the encoded representation. | ||
/// </remarks> | ||
/// <seealso cref="TryReadPrimitiveBitString"/> | ||
/// <seealso cref="TryReadBitString"/> | ||
public static byte[] ReadBitString( | ||
|
@@ -696,15 +696,15 @@ public partial class AsnReader | |
/// <see langword="false"/> and does not advance the reader if it had a constructed encoding. | ||
/// </returns> | ||
/// <exception cref="AsnContentException"> | ||
/// the next value does not have the correct tag. | ||
/// The next value does not have the correct tag. | ||
/// | ||
/// -or- | ||
/// | ||
/// the length encoding is not valid under the current encoding rules. | ||
/// The length encoding is not valid under the current encoding rules. | ||
/// | ||
/// -or- | ||
/// | ||
/// the contents are not valid under the current encoding rules. | ||
/// The contents are not valid under the current encoding rules. | ||
/// </exception> | ||
/// <exception cref="ArgumentException"> | ||
/// <paramref name="expectedTag"/>.<see cref="Asn1Tag.TagClass"/> is | ||
|
@@ -760,15 +760,15 @@ public bool TryReadPrimitiveBitString( | |
/// <see langword="false"/> and the reader does not advance. | ||
/// </returns> | ||
/// <exception cref="AsnContentException"> | ||
/// the next value does not have the correct tag. | ||
/// The next value does not have the correct tag. | ||
/// | ||
/// -or- | ||
/// | ||
/// the length encoding is not valid under the current encoding rules. | ||
/// The length encoding is not valid under the current encoding rules. | ||
/// | ||
/// -or- | ||
/// | ||
/// the contents are not valid under the current encoding rules. | ||
/// The contents are not valid under the current encoding rules. | ||
/// </exception> | ||
/// <exception cref="ArgumentException"> | ||
/// <paramref name="expectedTag"/>.<see cref="Asn1Tag.TagClass"/> is | ||
|
@@ -816,15 +816,15 @@ public bool TryReadBitString( | |
/// A copy of the value in a newly allocated, precisely sized, array. | ||
/// </returns> | ||
/// <exception cref="AsnContentException"> | ||
/// the next value does not have the correct tag. | ||
/// The next value does not have the correct tag. | ||
/// | ||
/// -or- | ||
/// | ||
/// the length encoding is not valid under the current encoding rules. | ||
/// The length encoding is not valid under the current encoding rules. | ||
/// | ||
/// -or- | ||
/// | ||
/// the contents are not valid under the current encoding rules. | ||
/// The contents are not valid under the current encoding rules. | ||
/// </exception> | ||
/// <exception cref="ArgumentException"> | ||
/// <paramref name="expectedTag"/>.<see cref="Asn1Tag.TagClass"/> is | ||
|
Uh oh!
There was an error while loading. Please reload this page.