Skip to content

InlineArray: Make clear that the field replicated must be an instance field #12458

@RexJaeschke

Description

@RexJaeschke

Type of issue

Missing information

Description

In "Remarks", you have

This attribute can be used to annotate a struct type with a single field. ...

Change "single field" to "single instance field," as an inline array type may have any number of static fields.

Page URL

https://learn.microsoft.com/en-us/dotnet/api/system.runtime.compilerservices.inlinearrayattribute?view=net-10.0

Content source URL

https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.Runtime.CompilerServices/InlineArrayAttribute.xml

Document Version Independent Id

6d343b94-6f54-a095-f5bc-aca776886569

Platform Id

2544c483-8950-6a1b-c617-9e9056ff1efc

Article author

@dotnet-bot

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions