2 writes to ByteCount
System.Text.Encoding.CodePages (2)
System\Text\BaseCodePageEncoding.cs (1)
158p->ByteCount = BinaryPrimitives.ReverseEndianness(p->ByteCount);
System\Text\BaseCodePageEncoding.netcoreapp.cs (1)
31p->ByteCount = BinaryPrimitives.ReverseEndianness(p->ByteCount);
6 references to ByteCount
System.Text.Encoding.CodePages (6)
System\Text\BaseCodePageEncoding.cs (5)
158p->ByteCount = BinaryPrimitives.ReverseEndianness(p->ByteCount); 348Debug.Assert(pCodePageIndex->ByteCount == 1 || pCodePageIndex->ByteCount == 2, 349$"[BaseCodePageEncoding] Code page ({codePage}) has invalid byte size ({pCodePageIndex->ByteCount}) in table"); 351return pCodePageIndex->ByteCount;
System\Text\BaseCodePageEncoding.netcoreapp.cs (1)
31p->ByteCount = BinaryPrimitives.ReverseEndianness(p->ByteCount);