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