Skip to content

Commit cbe41e0

Browse files
committed
correct the statement that is no longer true
1 parent 2a6cad6 commit cbe41e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/standard/serialization/binaryformatter-migration-guide/read-nrbf-payloads.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ There are more than a dozen different serialization [record types](/openspecs/wi
129129
- <xref:System.Formats.Nrbf.PrimitiveTypeRecord%601> derives from the non-generic <xref:System.Formats.Nrbf.PrimitiveTypeRecord>, which also exposes a <xref:System.Formats.Nrbf.PrimitiveTypeRecord.Value> property. But on the base class, the value is returned as `object` (which introduces boxing for value types).
130130
- <xref:System.Formats.Nrbf.ClassRecord>: describes all `class` and `struct` besides the aforementioned primitive types.
131131
- <xref:System.Formats.Nrbf.ArrayRecord>: describes all array records, including jagged and multi-dimensional arrays.
132-
- <xref:System.Formats.Nrbf.SZArrayRecord%601>: describes single-dimensional, zero-indexed array records, where `T` can be either a primitive type or a <xref:System.Formats.Nrbf.ClassRecord>.
132+
- <xref:System.Formats.Nrbf.SZArrayRecord%601>: describes single-dimensional, zero-indexed array records, where `T` can be either a primitive type or a <xref:System.Formats.Nrbf.SerializationRecord>.
133133

134134
```csharp
135135
SerializationRecord rootObject = NrbfDecoder.Decode(payload); // payload is a Stream

0 commit comments

Comments
 (0)