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

Reference to nonexistent AssemblyLoadAttribute is confusing #10507

Open
jnm2 opened this issue Oct 7, 2024 · 0 comments
Open

Reference to nonexistent AssemblyLoadAttribute is confusing #10507

jnm2 opened this issue Oct 7, 2024 · 0 comments
Labels
area-System.Reflection Pri3 Indicates issues/PRs that are low priority untriaged New issue has not been triaged by the area owner

Comments

@jnm2
Copy link
Contributor

jnm2 commented Oct 7, 2024

Type of issue

Missing information

Description

The tables in the Remarks section mention an attribute which is not in the BCL nor recognized by Roslyn, AssemblyLoadAttribute. This is confusing. That row of the the table mentions CorAssemblyFlags which https://learn.microsoft.com/en-us/dotnet/framework/unmanaged-api/metadata/corassemblyflags-enumeration#members mentions is partially covered by a different attribute, https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.debuggableattribute, which doesn't appear to be a pseudo-attribute (it gets emitted into the custom attributes table). https://learn.microsoft.com/en-us/dotnet/api/system.reflection.assemblyflagsattribute also seems to cover these same debuggable flags as well as more, and this attribute is a pseudo-attribute. Should AssemblyFlagsAttribute or multiple attributes perhaps be linked, rather than stating AssemblyLoadAttribute which does not seem to be a known attribute?

Page URL

https://learn.microsoft.com/en-us/dotnet/api/system.reflection.assembly.getcustomattributes?view=net-8.0

Content source URL

https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.Reflection/Assembly.xml

Document Version Independent Id

1f2add2c-8aef-80f0-c26f-10754107ea9f

Article author

@dotnet-bot

@issues-automation issues-automation bot added the Pri3 Indicates issues/PRs that are low priority label Oct 7, 2024
@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-System.Reflection Pri3 Indicates issues/PRs that are low priority untriaged New issue has not been triaged by the area owner
Projects
None yet
Development

No branches or pull requests

1 participant