-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
Enhance Attribute Retrieval Guide to Include Member-Level Attributes #44665
Conversation
docs/standard/attributes/retrieving-information-stored-in-attributes.md
Outdated
Show resolved
Hide resolved
docs/standard/attributes/retrieving-information-stored-in-attributes.md
Outdated
Show resolved
Hide resolved
Co-authored-by: Bartosz Klonowski <[email protected]>
Co-authored-by: Bartosz Klonowski <[email protected]>
Co-authored-by: Bartosz Klonowski <[email protected]>
Thank you @BartoszKlonowski for your suggestions. I have applied those. :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @shethaadit
I reviewed everything, and it looks great. Before I merge it, can you move the sample into a project in a snippets
folder so it's under our CI system? That helps us ensure the code is always up to date.
Thanks.
docs/standard/attributes/retrieving-information-stored-in-attributes.md
Outdated
Show resolved
Hide resolved
samples/snippets/csharp/VS_Snippets_CLR/conceptual.attributes.usage/cs/source4.cs
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for all the perseverance on this @shethaadit
I'll now.
Summary
Updated the documentation on retrieving information stored in attributes to include details on reading attributes applied to class members.
GetCustomAttribute
andGetCustomAttributes
for different scopes.Fixes #40174
Internal previews