Skip to content

Update StrongNameKeyPair docs - #6656

Merged
gewarren merged 1 commit into
dotnet:mainfrom
MSDN-WhiteKnight:patch-4
Apr 26, 2021
Merged

gewarren merged 1 commit into
dotnet:mainfrom
MSDN-WhiteKnight:patch-4

Conversation

@MSDN-WhiteKnight

Copy link
Copy Markdown
Contributor

Add PlatformNotSupportedException for APIs not supported in .NET Core

Fixes #4896

Add PlatformNotSupportedException for APIs not supported in .NET Core
@opbld30

opbld30 commented Apr 21, 2021

Copy link
Copy Markdown

Docs Build status updates of commit 0973944:

✅ Validation status: passed

File Status Preview URL Details
xml/System.Reflection/StrongNameKeyPair.xml ✅Succeeded View

For more details, please refer to the build report.

Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.

For any questions, please:

@buyaa-n

buyaa-n commented Apr 26, 2021

Copy link
Copy Markdown
Contributor

We have obsoleted this type in .net core recently https://github.com/dotnet/runtime/blob/main/src/libraries/System.Private.CoreLib/src/System/Reflection/StrongNameKeyPair.cs#L9, now all constructors and APIs will throw. Not sure how this PR should reflect that CC @gewarren

@gewarren

Copy link
Copy Markdown
Collaborator

We have obsoleted this type in .net core recently https://github.com/dotnet/runtime/blob/main/src/libraries/System.Private.CoreLib/src/System/Reflection/StrongNameKeyPair.cs#L9, now all constructors and APIs will throw. Not sure how this PR should reflect that CC @gewarren

I've created #6666 to track the new PNSEs. I think it's fine to merge this PR as-is. Thank you @MSDN-WhiteKnight !

@gewarren
gewarren merged commit c54ce25 into dotnet:main Apr 26, 2021
@MSDN-WhiteKnight
MSDN-WhiteKnight deleted the patch-4 branch April 27, 2021 03:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

It's not stated in its documentation page that System.Reflection.StrongNameKeyPair.PublicKey throws on .NET Core/.NET 5+

4 participants