docs icon indicating copy to clipboard operation
docs copied to clipboard

Attributes recognized by the compiler in binaries

Open jnm2 opened this issue 1 year ago • 0 comments

Type of issue

Missing information

Description

As opposed to https://github.com/dotnet/docs/issues/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

jnm2 avatar Oct 17 '24 20:10 jnm2