Skip to content

Reference to nonexistent AssemblyLoadAttribute is confusing #10507

Open
@jnm2

Description

@jnm2

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Pri3Indicates issues/PRs that are low priorityarea-System.ReflectionuntriagedNew issue has not been triaged by the area owner

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions