diff --git a/xml/System.Runtime.CompilerServices/InlineArrayAttribute.xml b/xml/System.Runtime.CompilerServices/InlineArrayAttribute.xml index 49940633b9f..76f2b5b083c 100644 --- a/xml/System.Runtime.CompilerServices/InlineArrayAttribute.xml +++ b/xml/System.Runtime.CompilerServices/InlineArrayAttribute.xml @@ -25,7 +25,16 @@ Indicates that the instance's storage is sequentially replicated times. - To be added. + This attribute can be used to annotate a type with a single field. The runtime replicates that field in the actual type layout as many times as is specified. + The following example shows how to declare an inline array type with eight values. + + [InlineArray(8)] + struct Float8InlineArray + { + private float _value; + } + + @@ -44,8 +53,8 @@ - To be added. - To be added. + The number of sequential fields to replicate in the inline array type. + Creates a new instance with the specified length. To be added. @@ -65,8 +74,8 @@ System.Int32 - To be added. - To be added. + Gets the number of sequential fields to replicate in the inline array type. + The number of sequential fields to replicate in the inline array type. To be added.