8 references to TryWriteUInt16BigEndian
Microsoft.AspNetCore.Server.Kestrel.Core (1)
src\aspnetcore\src\Shared\runtime\Http3\Helpers\VariableLengthIntegerHelper.cs (1)
163
if (BinaryPrimitives.
TryWriteUInt16BigEndian
(buffer, (ushort)((uint)longToEncode | TwoByteLengthMask)))
Microsoft.Extensions.ServiceDiscovery.Dns.Tests (3)
Resolver\LoopbackDnsServer.cs (3)
258
if (!BinaryPrimitives.
TryWriteUInt16BigEndian
(buff, priority) ||
259
!BinaryPrimitives.
TryWriteUInt16BigEndian
(buff.AsSpan(2), weight) ||
260
!BinaryPrimitives.
TryWriteUInt16BigEndian
(buff.AsSpan(4), port) ||
System.Net.Http (1)
src\runtime\src\libraries\Common\src\System\Net\Http\aspnetcore\Http3\Helpers\VariableLengthIntegerHelper.cs (1)
163
if (BinaryPrimitives.
TryWriteUInt16BigEndian
(buffer, (ushort)((uint)longToEncode | TwoByteLengthMask)))
System.Private.CoreLib (3)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Char.cs (1)
1341
if (BinaryPrimitives.
TryWriteUInt16BigEndian
(destination, m_value))
src\runtime\src\libraries\System.Private.CoreLib\src\System\Half.cs (1)
1432
if (BinaryPrimitives.
TryWriteUInt16BigEndian
(destination, Significand))
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt16.cs (1)
381
if (BinaryPrimitives.
TryWriteUInt16BigEndian
(destination, m_value))