dotnet / dotnet/dotnet-api-docs

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

Open
#12,458 1 comment 0 reactions 0 assignees View on GitHub
area-System.Runtime untriaged
Dominant language
C#
Stars
949
Forks
1.7k
Avg merge
3d 27m
Merged PRs (30d)
49

Description

### 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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.