Moves more outgoing packets (#152)

This commit is contained in:
Kamron Batman 2020-05-28 19:15:34 -07:00 committed by GitHub
parent 4499ac30b0
commit 69ebb45e59
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 1778 additions and 1754 deletions

View file

@ -73,10 +73,8 @@ namespace System.Buffers
get
{
if (length < 0)
{
// Cast-away readonly to initialize lazy field
Volatile.Write(ref Unsafe.AsRef(length), sequence.Length);
}
return length;
}