Skip to content
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

Improve enum documentation #88191

Merged
merged 1 commit into from
Aug 24, 2023
Merged

Conversation

bjornen77
Copy link
Contributor

@bjornen77 bjornen77 commented Jun 29, 2023

When using the generic version to check if an enum is defined, it is not possible to provide the value to check as a string as stated in the documentation. The documentation is now updated.

@dotnet-issue-labeler dotnet-issue-labeler bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Jun 29, 2023
@ghost ghost added the community-contribution Indicates that the PR has been added by a community member label Jun 29, 2023
@danmoseley danmoseley added area-System.Runtime and removed needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners labels Jul 4, 2023
@ghost
Copy link

ghost commented Jul 4, 2023

Tagging subscribers to this area: @dotnet/area-system-runtime
See info in area-owners.md if you want to be subscribed.

Issue Details

When using the generic version to check if an enum is defined, it is not possible to provide the value to check as a string as stated in the documentation. The documentation is now updated.

Author: bjornen77
Assignees: -
Labels:

area-System.Runtime, community-contribution

Milestone: -

@jozkee jozkee merged commit d9c4c3b into dotnet:main Aug 24, 2023
@jozkee
Copy link
Member

jozkee commented Aug 24, 2023

If you want to see this change displayed in the official docs, you need to make it here:
https://github.com/dotnet/dotnet-api-docs/blob/035daaa73f6bf7cc4127d791274826601646f7e9/xml/System/Enum.xml#L1543

@ghost ghost locked as resolved and limited conversation to collaborators Sep 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Runtime community-contribution Indicates that the PR has been added by a community member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants