Skip to content

Attributes recognized by the compiler in binaries #43110

@jnm2

Description

@jnm2

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions