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

Attributes recognized by the compiler in binaries #43110

Closed
jnm2 opened this issue Oct 17, 2024 · 0 comments · Fixed by #44513
Closed

Attributes recognized by the compiler in binaries #43110

jnm2 opened this issue Oct 17, 2024 · 0 comments · Fixed by #44513
Assignees
Labels
dotnet-csharp/svc in-pr This issue will be closed (fixed) by an active pull request. lang-reference/subsvc 📌 seQUESTered Identifies that an issue has been imported into Quest.

Comments

@jnm2
Copy link
Contributor

jnm2 commented Oct 17, 2024

Type of issue

Missing information

Description

As opposed to #43109, these attributes are generally disallowed in source. They affect the language meaning of compiled binaries, and thereby affect how the source code is compiled which references such binaries. This is of interest when using reflection or examining assemblies for purposes of understanding the language meaning of things in metadata.

It could also be interesting to list modreq and modopt types, which are not (usually) also attributes. They are part of the same theme as this page.

Page URL

https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/attributes/general

Content source URL

https://github.com/dotnet/docs/blob/main/docs/csharp/language-reference/attributes/general.md

Document Version Independent Id

6a60a627-c59c-74de-ce5b-6f52e15e7668

Article author

@BillWagner

Metadata

  • ID: d415a929-c112-ab86-cf2e-13bf2ef64e1a
  • Service: dotnet-csharp
  • Sub-service: lang-reference

Related Issues


Associated WorkItem - 350763

@dotnetrepoman dotnetrepoman bot added the ⌚ Not Triaged Not triaged label Oct 17, 2024
@dotnetrepoman dotnetrepoman bot removed the ⌚ Not Triaged Not triaged label Oct 18, 2024
@BillWagner BillWagner self-assigned this Nov 28, 2024
@BillWagner BillWagner added the 🗺️ reQUEST Triggers an issue to be imported into Quest. label Nov 28, 2024
@dotnetrepoman dotnetrepoman bot added 🗺️ mapQUEST Only used as a way to mark an issue as updated for quest. RepoMan should instantly remove it. and removed 🗺️ mapQUEST Only used as a way to mark an issue as updated for quest. RepoMan should instantly remove it. labels Nov 28, 2024
@sequestor sequestor bot added 📌 seQUESTered Identifies that an issue has been imported into Quest. and removed 🗺️ reQUEST Triggers an issue to be imported into Quest. labels Dec 3, 2024
@BillWagner BillWagner moved this from 🔖 Ready to 🏗 In progress in dotnet/docs January 2025 sprint project Jan 22, 2025
BillWagner added a commit to BillWagner/docs that referenced this issue Jan 24, 2025
Add a list of attributes that are written by the compiler that shouldn't be added in users' source code.
@dotnet-policy-service dotnet-policy-service bot added the in-pr This issue will be closed (fixed) by an active pull request. label Jan 24, 2025
BillWagner added a commit to BillWagner/docs that referenced this issue Jan 27, 2025
Add a list of attributes that are written by the compiler that shouldn't be added in users' source code.
@BillWagner BillWagner moved this from 🏗 In progress to 👀 In review in dotnet/docs January 2025 sprint project Jan 27, 2025
@dotnetrepoman dotnetrepoman bot added the 🗺️ mapQUEST Only used as a way to mark an issue as updated for quest. RepoMan should instantly remove it. label Jan 27, 2025
@dotnet-policy-service dotnet-policy-service bot removed the 🗺️ mapQUEST Only used as a way to mark an issue as updated for quest. RepoMan should instantly remove it. label Jan 27, 2025
BillWagner added a commit to BillWagner/docs that referenced this issue Jan 27, 2025
Add a list of attributes that are written by the compiler that shouldn't be added in users' source code.
@github-project-automation github-project-automation bot moved this from 👀 In review to ✅ Done in dotnet/docs January 2025 sprint project Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dotnet-csharp/svc in-pr This issue will be closed (fixed) by an active pull request. lang-reference/subsvc 📌 seQUESTered Identifies that an issue has been imported into Quest.
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

2 participants