56 references to TryRead
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Internal\Http\HttpHeaders.cs (2)
644
if (MemoryMarshal.
TryRead
(byteValue, out ulong result))
664
if (MemoryMarshal.
TryRead
(byteValue, out uint result))
Microsoft.CodeAnalysis.Workspaces (2)
Storage\SQLite\v2\Interop\SqlConnection.cs (1)
316
Contract.ThrowIfFalse(MemoryMarshal.
TryRead
(bytes, out Checksum result));
Workspace\Solution\Checksum.cs (1)
57
Contract.ThrowIfFalse(MemoryMarshal.
TryRead
(checksum, out Checksum result));
System.Private.CoreLib (52)
src\libraries\System.Private.CoreLib\src\System\Buffers\Binary\BinaryPrimitives.ReadBigEndian.cs (26)
251
bool success = MemoryMarshal.
TryRead
(source, out long tmp);
256
return MemoryMarshal.
TryRead
(source, out value);
273
bool success = MemoryMarshal.
TryRead
(source, out short tmp);
278
return MemoryMarshal.
TryRead
(source, out value);
295
bool success = MemoryMarshal.
TryRead
(source, out short tmp);
300
return MemoryMarshal.
TryRead
(source, out value);
317
bool success = MemoryMarshal.
TryRead
(source, out int tmp);
322
return MemoryMarshal.
TryRead
(source, out value);
339
bool success = MemoryMarshal.
TryRead
(source, out long tmp);
344
return MemoryMarshal.
TryRead
(source, out value);
361
bool success = MemoryMarshal.
TryRead
(source, out Int128 tmp);
366
return MemoryMarshal.
TryRead
(source, out value);
383
bool success = MemoryMarshal.
TryRead
(source, out nint tmp);
388
return MemoryMarshal.
TryRead
(source, out value);
404
bool success = MemoryMarshal.
TryRead
(source, out int tmp);
409
return MemoryMarshal.
TryRead
(source, out value);
427
bool success = MemoryMarshal.
TryRead
(source, out ushort tmp);
432
return MemoryMarshal.
TryRead
(source, out value);
450
bool success = MemoryMarshal.
TryRead
(source, out uint tmp);
455
return MemoryMarshal.
TryRead
(source, out value);
473
bool success = MemoryMarshal.
TryRead
(source, out ulong tmp);
478
return MemoryMarshal.
TryRead
(source, out value);
496
bool success = MemoryMarshal.
TryRead
(source, out UInt128 tmp);
501
return MemoryMarshal.
TryRead
(source, out value);
520
bool success = MemoryMarshal.
TryRead
(source, out nuint tmp);
525
return MemoryMarshal.
TryRead
(source, out value);
src\libraries\System.Private.CoreLib\src\System\Buffers\Binary\BinaryPrimitives.ReadLittleEndian.cs (26)
251
bool success = MemoryMarshal.
TryRead
(source, out long tmp);
256
return MemoryMarshal.
TryRead
(source, out value);
273
bool success = MemoryMarshal.
TryRead
(source, out short tmp);
278
return MemoryMarshal.
TryRead
(source, out value);
295
return MemoryMarshal.
TryRead
(source, out value);
298
bool success = MemoryMarshal.
TryRead
(source, out short tmp);
317
return MemoryMarshal.
TryRead
(source, out value);
320
bool success = MemoryMarshal.
TryRead
(source, out int tmp);
339
return MemoryMarshal.
TryRead
(source, out value);
342
bool success = MemoryMarshal.
TryRead
(source, out long tmp);
361
return MemoryMarshal.
TryRead
(source, out value);
364
bool success = MemoryMarshal.
TryRead
(source, out Int128 tmp);
383
return MemoryMarshal.
TryRead
(source, out value);
386
bool success = MemoryMarshal.
TryRead
(source, out nint tmp);
404
bool success = MemoryMarshal.
TryRead
(source, out int tmp);
409
return MemoryMarshal.
TryRead
(source, out value);
427
return MemoryMarshal.
TryRead
(source, out value);
430
bool success = MemoryMarshal.
TryRead
(source, out ushort tmp);
450
return MemoryMarshal.
TryRead
(source, out value);
453
bool success = MemoryMarshal.
TryRead
(source, out uint tmp);
473
return MemoryMarshal.
TryRead
(source, out value);
476
bool success = MemoryMarshal.
TryRead
(source, out ulong tmp);
496
return MemoryMarshal.
TryRead
(source, out value);
499
bool success = MemoryMarshal.
TryRead
(source, out UInt128 tmp);
519
return MemoryMarshal.
TryRead
(source, out value);
522
bool success = MemoryMarshal.
TryRead
(source, out nuint tmp);