Skip to content

Commit c54ce25

Browse files
Update StrongNameKeyPair docs (#6656)
Add PlatformNotSupportedException for APIs not supported in .NET Core
1 parent 93baa2f commit c54ce25

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

xml/System.Reflection/StrongNameKeyPair.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,7 @@
231231
<exception cref="T:System.ArgumentNullException">
232232
<paramref name="keyPairContainer" /> is <see langword="null" />.</exception>
233233
<exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
234+
<exception cref="T:System.PlatformNotSupportedException">.NET 5+ and .NET Core only: This member is not supported.</exception>
234235
<altmember cref="T:System.Array" />
235236
</Docs>
236237
</Member>
@@ -283,6 +284,7 @@
283284
284285
]]></format>
285286
</remarks>
287+
<exception cref="T:System.PlatformNotSupportedException">.NET 5+ and .NET Core only: This member is not supported.</exception>
286288
<related type="Article" href="/dotnet/standard/serialization/xml-and-soap-serialization">XML and SOAP Serialization</related>
287289
</Docs>
288290
</Member>
@@ -327,6 +329,7 @@
327329
<summary>Gets the public part of the public key or public key token of the key pair.</summary>
328330
<value>An array of type <see langword="byte" /> containing the public key or public key token of the key pair.</value>
329331
<remarks>To be added.</remarks>
332+
<exception cref="T:System.PlatformNotSupportedException">.NET 5+ and .NET Core only: This member is not supported.</exception>
330333
<altmember cref="T:System.Array" />
331334
<altmember cref="T:System.String" />
332335
</Docs>
@@ -371,6 +374,7 @@
371374
<param name="sender">The object that initiated the callback.</param>
372375
<summary>Runs when the entire object graph has been deserialized.</summary>
373376
<remarks>To be added.</remarks>
377+
<exception cref="T:System.PlatformNotSupportedException">.NET 5+ and .NET Core only: This member is not supported.</exception>
374378
</Docs>
375379
</Member>
376380
<Member MemberName="System.Runtime.Serialization.ISerializable.GetObjectData">
@@ -423,6 +427,7 @@
423427
<remarks>To be added.</remarks>
424428
<exception cref="T:System.ArgumentException">
425429
<paramref name="info" /> is <see langword="null" />.</exception>
430+
<exception cref="T:System.PlatformNotSupportedException">.NET 5+ and .NET Core only: This member is not supported.</exception>
426431
</Docs>
427432
</Member>
428433
</Members>

0 commit comments

Comments
 (0)