Repository navigation
Document System.Threading.Thread Methods that throw PlatformNotSupportedException - #3852
Merged
Merged
Conversation
rpetrusha
self-requested a review
December 1, 2017 18:11
rpetrusha
approved these changes
Dec 1, 2017
rpetrusha
left a comment
Contributor
There was a problem hiding this comment.
Thank you so much not only for doing this, @DoctaJonez, but for doing such a great job! We'll merge your PR now. The changes should appear live on docs.microsoft.com in the next day or two. Again, we really appreciate your agreeing to contribute to documenting .NET Core exception information.
Contributor
|
Related to #2934 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Document System.Threading.Thread Methods that throw PlatformNotSupportedException
This pull request is the result of the following issue "Methods that throw PlatformNotSupportedException are not documented".
Summary
I have documented which methods of the
System.Threading.Threadclass throw aSystem.PlatformNotSupportedExceptionin .Net Core. I have also referenced the platform-compat tool to confirm which OSes this error is thrown on, and documented accordingly.Details
Added exception elements to the following methods
Abort,Abort(object),ResetAbort,Resume,SetApartmentState(macOS and Linux only), andSuspend, as per the following platform-compat output https://raw.githubusercontent.com/dotnet/platform-compat/master/etc/exceptions.csv.Fixes #3825
Suggested Reviewers
@rpetrusha