Skip to content

Commit 362e4ec

Browse files
committed
self review
1 parent ac33d00 commit 362e4ec

File tree

4 files changed

+15
-15
lines changed

4 files changed

+15
-15
lines changed

xml/System.Security.Cryptography/CompositeMLDsa.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1188,7 +1188,7 @@
11881188
<param name="source">The text of the PEM key to import.</param>
11891189
<summary>Imports a Composite ML-DSA key from an RFC 7468 PEM-encoded string.</summary>
11901190
<returns>The imported Composite ML-DSA key.</returns>
1191-
<remarks><para>Unsupported or malformed PEM-encoded objects will be ignored. If multiple supported PEM labels are found, an exception is raised to prevent importing a key when the key is ambiguous.</para><para>This method supports the following PEM labels:</para><para>&lt;list type="bullet"&gt;&lt;item&gt;&lt;description&gt;PUBLIC KEY&lt;/description&gt;&lt;/item&gt;&lt;item&gt;&lt;description&gt;PRIVATE KEY&lt;/description&gt;&lt;/item&gt;&lt;/list&gt;</para></remarks>
1191+
<remarks><para>Unsupported or malformed PEM-encoded objects will be ignored. If multiple supported PEM labels are found, an exception is raised to prevent importing a key when the key is ambiguous.</para><para>This method supports the following PEM labels:</para><para><ist type="bullet"><item><description>PUBLIC KEY</description></item><item><description>PRIVATE KEY</description></item></list></para></remarks>
11921192
<exception cref="T:System.ArgumentException"><para> <paramref name="source" /> contains an encrypted PEM-encoded key.</para><para>-or-</para><para> <paramref name="source" /> contains multiple PEM-encoded Composite ML-DSA keys.</para><para>-or-</para><para> <paramref name="source" /> contains no PEM-encoded Composite ML-DSA keys.</para></exception>
11931193
<exception cref="T:System.Security.Cryptography.CryptographicException">
11941194
<para>An error occurred while importing the key.</para>

xml/System.Security.Cryptography/MLKem.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1614,7 +1614,7 @@
16141614
<param name="source">The text of the PEM key to import.</param>
16151615
<summary>Imports an ML-KEM key from an RFC 7468 PEM-encoded string.</summary>
16161616
<returns>The imported ML-KEM key.</returns>
1617-
<remarks><para>Unsupported or malformed PEM-encoded objects will be ignored. If multiple supported PEM labels are found, an exception is raised to prevent importing a key when the key is ambiguous.</para><para>This method supports the following PEM labels:</para><para>&lt;list type="bullet"&gt;&lt;item&gt;&lt;description&gt;PUBLIC KEY&lt;/description&gt;&lt;/item&gt;&lt;item&gt;&lt;description&gt;PRIVATE KEY&lt;/description&gt;&lt;/item&gt;&lt;/list&gt;</para></remarks>
1617+
<remarks><para>Unsupported or malformed PEM-encoded objects will be ignored. If multiple supported PEM labels are found, an exception is raised to prevent importing a key when the key is ambiguous.</para><para>This method supports the following PEM labels:</para><para><ist type="bullet"><item><description>PUBLIC KEY</description></item><item><description>PRIVATE KEY</description></item></list></para></remarks>
16181618
<exception cref="T:System.ArgumentException"><para> <paramref name="source" /> contains an encrypted PEM-encoded key.</para><para>-or-</para><para> <paramref name="source" /> contains multiple PEM-encoded ML-KEM keys.</para><para>-or-</para><para> <paramref name="source" /> contains no PEM-encoded ML-KEM keys.</para></exception>
16191619
<exception cref="T:System.Security.Cryptography.CryptographicException">An error occurred while importing the key.</exception>
16201620
</Docs>

xml/System.Security.Cryptography/SlhDsa.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1042,7 +1042,7 @@
10421042
<param name="source">The text of the PEM key to import.</param>
10431043
<summary>Imports an SLH-DSA key from an RFC 7468 PEM-encoded string.</summary>
10441044
<returns>The imported SLH-DSA key.</returns>
1045-
<remarks><para>Unsupported or malformed PEM-encoded objects will be ignored. If multiple supported PEM labels are found, an exception is raised to prevent importing a key when the key is ambiguous.</para><para>This method supports the following PEM labels:</para><para>&lt;list type="bullet"&gt;&lt;item&gt;&lt;description&gt;PUBLIC KEY&lt;/description&gt;&lt;/item&gt;&lt;item&gt;&lt;description&gt;PRIVATE KEY&lt;/description&gt;&lt;/item&gt;&lt;/list&gt;</para></remarks>
1045+
<remarks><para>Unsupported or malformed PEM-encoded objects will be ignored. If multiple supported PEM labels are found, an exception is raised to prevent importing a key when the key is ambiguous.</para><para>This method supports the following PEM labels:</para><para><ist type="bullet"><item><description>PUBLIC KEY</description></item><item><description>PRIVATE KEY</description></item></list></para></remarks>
10461046
<exception cref="T:System.ArgumentException"><para> <paramref name="source" /> contains an encrypted PEM-encoded key.</para><para>-or-</para><para> <paramref name="source" /> contains multiple PEM-encoded SLH-DSA keys.</para><para>-or-</para><para> <paramref name="source" /> contains no PEM-encoded SLH-DSA keys.</para></exception>
10471047
<exception cref="T:System.Security.Cryptography.CryptographicException">An error occurred while importing the key.</exception>
10481048
<exception cref="T:System.PlatformNotSupportedException">

xml/System/MemoryExtensions.xml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7333,7 +7333,7 @@ Invalid sequences will be represented in the enumeration by <xref:System.Text.Ru
73337333
<typeparam name="T">The type of the span and values.</typeparam>
73347334
<param name="span">The span to search.</param>
73357335
<param name="value0">The first value to avoid.</param>
7336-
<param name="value1">The second value to avoid<./param>
7336+
<param name="value1">The second value to avoid.</param>
73377337
<summary>Searches for the first index of any value other than the two specified values.</summary>
73387338
<returns>The index in the span of the first occurrence of any value other than <paramref name="value0" /> and <paramref name="value1" />. If all of the values are <paramref name="value0" /> or <paramref name="value1" />, returns -1.</returns>
73397339
<remarks>To be added.</remarks>
@@ -7395,7 +7395,7 @@ Invalid sequences will be represented in the enumeration by <xref:System.Text.Ru
73957395
<typeparam name="T">The type of the span and values.</typeparam>
73967396
<param name="span">The span to search.</param>
73977397
<param name="value0">The first value to avoid.</param>
7398-
<param name="value1">The second value to avoid<./param>
7398+
<param name="value1">The second value to avoid.</param>
73997399
<summary>Searches for the first index of any value other than the two specified values.</summary>
74007400
<returns>The index in the span of the first occurrence of any value other than <paramref name="value0" /> and <paramref name="value1" />. If all of the values are <paramref name="value0" /> or <paramref name="value1" />, returns -1.</returns>
74017401
<remarks>To be added.</remarks>
@@ -7452,7 +7452,7 @@ Invalid sequences will be represented in the enumeration by <xref:System.Text.Ru
74527452
<typeparam name="T">The type of the span and values.</typeparam>
74537453
<param name="span">The span to search.</param>
74547454
<param name="value0">The first value to avoid.</param>
7455-
<param name="value1">The second value to avoid<./param>
7455+
<param name="value1">The second value to avoid.</param>
74567456
<param name="comparer">The <see cref="T:System.Collections.Generic.IEqualityComparer`1" /> implementation to use when comparing elements, or <see langword="null" /> to use the default <see cref="T:System.Collections.Generic.IEqualityComparer`1" /> for the type of an element.</param>
74577457
<summary>Searches for the first index of any value other than the two specified values.</summary>
74587458
<returns>
@@ -7512,8 +7512,8 @@ Invalid sequences will be represented in the enumeration by <xref:System.Text.Ru
75127512
<typeparam name="T">The type of the span and values.</typeparam>
75137513
<param name="span">The span to search.</param>
75147514
<param name="value0">The first value to avoid.</param>
7515-
<param name="value1">The second value to avoid<./param>
7516-
<param name="value2">The third value to avoid<./param>
7515+
<param name="value1">The second value to avoid.</param>
7516+
<param name="value2">The third value to avoid.</param>
75177517
<summary>Searches for the first index of any value other than <paramref name="value0" />, <paramref name="value1" />, or <paramref name="value2" />.</summary>
75187518
<returns>The index in the span of the first occurrence of any value other than <paramref name="value0" />, <paramref name="value1" />, and <paramref name="value2" />. If all of the values are <paramref name="value0" />, <paramref name="value1" />, and <paramref name="value2" />, returns -1.</returns>
75197519
<remarks>To be added.</remarks>
@@ -7576,8 +7576,8 @@ Invalid sequences will be represented in the enumeration by <xref:System.Text.Ru
75767576
<typeparam name="T">The type of the span and values.</typeparam>
75777577
<param name="span">The span to search.</param>
75787578
<param name="value0">The first value to avoid.</param>
7579-
<param name="value1">The second value to avoid<./param>
7580-
<param name="value2">The third value to avoid<./param>
7579+
<param name="value1">The second value to avoid.</param>
7580+
<param name="value2">The third value to avoid.</param>
75817581
<summary>Searches for the first index of any value other than <paramref name="value0" />, <paramref name="value1" />, or <paramref name="value2" />.</summary>
75827582
<returns>The index in the span of the first occurrence of any value other than <paramref name="value0" />, <paramref name="value1" />, and <paramref name="value2" />. If all of the values are <paramref name="value0" />, <paramref name="value1" />, and <paramref name="value2" />, returns -1.</returns>
75837583
<remarks>To be added.</remarks>
@@ -7635,8 +7635,8 @@ Invalid sequences will be represented in the enumeration by <xref:System.Text.Ru
76357635
<typeparam name="T">The type of the span and values.</typeparam>
76367636
<param name="span">The span to search.</param>
76377637
<param name="value0">The first value to avoid.</param>
7638-
<param name="value1">The second value to avoid<./param>
7639-
<param name="value2">The third value to avoid<./param>
7638+
<param name="value1">The second value to avoid.</param>
7639+
<param name="value2">The third value to avoid.</param>
76407640
<param name="comparer">The <see cref="T:System.Collections.Generic.IEqualityComparer`1" /> implementation to use when comparing elements, or <see langword="null" /> to use the default <see cref="T:System.Collections.Generic.IEqualityComparer`1" /> for the type of an element.</param>
76417641
<summary>Searches for the first index of any value other than <paramref name="value0" />, <paramref name="value1" />, or <paramref name="value2" />.</summary>
76427642
<returns>
@@ -9734,7 +9734,7 @@ Invalid sequences will be represented in the enumeration by <xref:System.Text.Ru
97349734
<param name="span">The span to search.</param>
97359735
<param name="value0">The first value to avoid.</param>
97369736
<param name="value1">The second value to avoid.</param>
9737-
<param name="value2">The second value to avoid.</param>
9737+
<param name="value2">The third value to avoid.</param>
97389738
<summary>Searches for the last index of any value other than the specified <paramref name="value0" />, <paramref name="value1" />, or <paramref name="value2" />.</summary>
97399739
<returns>The index in the span of the last occurrence of any value other than <paramref name="value0" />, <paramref name="value1" />, and <paramref name="value2" />.
97409740
If all of the values are <paramref name="value0" />, <paramref name="value1" />, and <paramref name="value2" />, returns -1.</returns>
@@ -9799,7 +9799,7 @@ Invalid sequences will be represented in the enumeration by <xref:System.Text.Ru
97999799
<param name="span">The span to search.</param>
98009800
<param name="value0">The first value to avoid.</param>
98019801
<param name="value1">The second value to avoid.</param>
9802-
<param name="value2">The second value to avoid.</param>
9802+
<param name="value2">The third value to avoid.</param>
98039803
<summary>Searches for the last index of any value other than the specified <paramref name="value0" />, <paramref name="value1" />, or <paramref name="value2" />.</summary>
98049804
<returns>The index in the span of the last occurrence of any value other than <paramref name="value0" />, <paramref name="value1" />, and <paramref name="value2" />.
98059805
If all of the values are <paramref name="value0" />, <paramref name="value1" />, and <paramref name="value2" />, returns -1.</returns>
@@ -9859,7 +9859,7 @@ Invalid sequences will be represented in the enumeration by <xref:System.Text.Ru
98599859
<param name="span">The span to search.</param>
98609860
<param name="value0">The first value to avoid.</param>
98619861
<param name="value1">The second value to avoid.</param>
9862-
<param name="value2">The second value to avoid.</param>
9862+
<param name="value2">The third value to avoid.</param>
98639863
<param name="comparer">The <see cref="T:System.Collections.Generic.IEqualityComparer`1" /> implementation to use when comparing elements, or <see langword="null" /> to use the default <see cref="T:System.Collections.Generic.IEqualityComparer`1" /> for the type of an element.</param>
98649864
<summary>Searches for the last index of any value other than the specified <paramref name="value0" />, <paramref name="value1" />, or <paramref name="value2" />.</summary>
98659865
<returns>

0 commit comments

Comments
 (0)