Skip to content

Commit 6c4ba01

Browse files
authored
Automatic port of System.Buffers exceptions (dotnet#4649)
Co-authored-by: carlossanlop <[email protected]>
1 parent b2c7686 commit 6c4ba01

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

xml/System.Buffers.Binary/BinaryPrimitives.xml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Type Name="BinaryPrimitives" FullName="System.Buffers.Binary.BinaryPrimitives">
1+
<Type Name="BinaryPrimitives" FullName="System.Buffers.Binary.BinaryPrimitives">
22
<TypeSignature Language="C#" Value="public static class BinaryPrimitives" />
33
<TypeSignature Language="ILAsm" Value=".class public auto ansi abstract sealed beforefieldinit BinaryPrimitives extends System.Object" />
44
<TypeSignature Language="DocId" Value="T:System.Buffers.Binary.BinaryPrimitives" />
@@ -72,6 +72,8 @@ Reads exactly 8 bytes from the beginning of the span.
7272
7373
]]></format>
7474
</remarks>
75+
<exception cref="T:System.ArgumentOutOfRangeException">
76+
<paramref name="source" /> is too small to contain a <see cref="T:System.Double" />.</exception>
7577
</Docs>
7678
</Member>
7779
<Member MemberName="ReadDoubleLittleEndian">
@@ -108,6 +110,8 @@ Reads exactly 8 bytes from the beginning of the span.
108110
109111
]]></format>
110112
</remarks>
113+
<exception cref="T:System.ArgumentOutOfRangeException">
114+
<paramref name="source" /> is too small to contain a <see cref="T:System.Double" />.</exception>
111115
</Docs>
112116
</Member>
113117
<Member MemberName="ReadInt16BigEndian">
@@ -402,6 +406,8 @@ Reads exactly 4 bytes from the beginning of the span.
402406
403407
]]></format>
404408
</remarks>
409+
<exception cref="T:System.ArgumentOutOfRangeException">
410+
<paramref name="source" /> is too small to contain a <see cref="T:System.Single" />.</exception>
405411
</Docs>
406412
</Member>
407413
<Member MemberName="ReadSingleLittleEndian">
@@ -438,6 +444,8 @@ Reads exactly 4 bytes from the beginning of the span.
438444
439445
]]></format>
440446
</remarks>
447+
<exception cref="T:System.ArgumentOutOfRangeException">
448+
<paramref name="source" /> is too small to contain a <see cref="T:System.Single" />.</exception>
441449
</Docs>
442450
</Member>
443451
<Member MemberName="ReadUInt16BigEndian">
@@ -2513,6 +2521,8 @@ Writes exactly 8 bytes to the beginning of the span.
25132521
25142522
]]></format>
25152523
</remarks>
2524+
<exception cref="T:System.ArgumentOutOfRangeException">
2525+
<paramref name="destination" /> is too small to contain a <see cref="T:System.Double" />.</exception>
25162526
</Docs>
25172527
</Member>
25182528
<Member MemberName="WriteDoubleLittleEndian">
@@ -2550,6 +2560,8 @@ Writes exactly 8 bytes to the beginning of the span.
25502560
25512561
]]></format>
25522562
</remarks>
2563+
<exception cref="T:System.ArgumentOutOfRangeException">
2564+
<paramref name="destination" /> is too small to contain a <see cref="T:System.Double" />.</exception>
25532565
</Docs>
25542566
</Member>
25552567
<Member MemberName="WriteInt16BigEndian">
@@ -2851,6 +2863,8 @@ Writes exactly 4 bytes to the beginning of the span.
28512863
28522864
]]></format>
28532865
</remarks>
2866+
<exception cref="T:System.ArgumentOutOfRangeException">
2867+
<paramref name="destination" /> is too small to contain a <see cref="T:System.Single" />.</exception>
28542868
</Docs>
28552869
</Member>
28562870
<Member MemberName="WriteSingleLittleEndian">
@@ -2888,6 +2902,8 @@ Writes exactly 4 bytes to the beginning of the span.
28882902
28892903
]]></format>
28902904
</remarks>
2905+
<exception cref="T:System.ArgumentOutOfRangeException">
2906+
<paramref name="destination" /> is too small to contain a <see cref="T:System.Single" />.</exception>
28912907
</Docs>
28922908
</Member>
28932909
<Member MemberName="WriteUInt16BigEndian">

0 commit comments

Comments
 (0)