60 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 (56)
src\libraries\System.Private.CoreLib\src\System\Buffers\Binary\BinaryPrimitives.ReadBigEndian.cs (28)
269
bool success = MemoryMarshal.
TryRead
(source, out long tmp);
274
return MemoryMarshal.
TryRead
(source, out value);
291
bool success = MemoryMarshal.
TryRead
(source, out short tmp);
296
return MemoryMarshal.
TryRead
(source, out value);
313
bool success = MemoryMarshal.
TryRead
(source, out short tmp);
318
return MemoryMarshal.
TryRead
(source, out value);
335
bool success = MemoryMarshal.
TryRead
(source, out short tmp);
340
return MemoryMarshal.
TryRead
(source, out value);
357
bool success = MemoryMarshal.
TryRead
(source, out int tmp);
362
return MemoryMarshal.
TryRead
(source, out value);
379
bool success = MemoryMarshal.
TryRead
(source, out long tmp);
384
return MemoryMarshal.
TryRead
(source, out value);
401
bool success = MemoryMarshal.
TryRead
(source, out Int128 tmp);
406
return MemoryMarshal.
TryRead
(source, out value);
423
bool success = MemoryMarshal.
TryRead
(source, out nint tmp);
428
return MemoryMarshal.
TryRead
(source, out value);
444
bool success = MemoryMarshal.
TryRead
(source, out int tmp);
449
return MemoryMarshal.
TryRead
(source, out value);
467
bool success = MemoryMarshal.
TryRead
(source, out ushort tmp);
472
return MemoryMarshal.
TryRead
(source, out value);
490
bool success = MemoryMarshal.
TryRead
(source, out uint tmp);
495
return MemoryMarshal.
TryRead
(source, out value);
513
bool success = MemoryMarshal.
TryRead
(source, out ulong tmp);
518
return MemoryMarshal.
TryRead
(source, out value);
536
bool success = MemoryMarshal.
TryRead
(source, out UInt128 tmp);
541
return MemoryMarshal.
TryRead
(source, out value);
560
bool success = MemoryMarshal.
TryRead
(source, out nuint tmp);
565
return MemoryMarshal.
TryRead
(source, out value);
src\libraries\System.Private.CoreLib\src\System\Buffers\Binary\BinaryPrimitives.ReadLittleEndian.cs (28)
269
bool success = MemoryMarshal.
TryRead
(source, out long tmp);
274
return MemoryMarshal.
TryRead
(source, out value);
291
bool success = MemoryMarshal.
TryRead
(source, out short tmp);
296
return MemoryMarshal.
TryRead
(source, out value);
313
bool success = MemoryMarshal.
TryRead
(source, out short tmp);
318
return MemoryMarshal.
TryRead
(source, out value);
335
return MemoryMarshal.
TryRead
(source, out value);
338
bool success = MemoryMarshal.
TryRead
(source, out short tmp);
357
return MemoryMarshal.
TryRead
(source, out value);
360
bool success = MemoryMarshal.
TryRead
(source, out int tmp);
379
return MemoryMarshal.
TryRead
(source, out value);
382
bool success = MemoryMarshal.
TryRead
(source, out long tmp);
401
return MemoryMarshal.
TryRead
(source, out value);
404
bool success = MemoryMarshal.
TryRead
(source, out Int128 tmp);
423
return MemoryMarshal.
TryRead
(source, out value);
426
bool success = MemoryMarshal.
TryRead
(source, out nint tmp);
444
bool success = MemoryMarshal.
TryRead
(source, out int tmp);
449
return MemoryMarshal.
TryRead
(source, out value);
467
return MemoryMarshal.
TryRead
(source, out value);
470
bool success = MemoryMarshal.
TryRead
(source, out ushort tmp);
490
return MemoryMarshal.
TryRead
(source, out value);
493
bool success = MemoryMarshal.
TryRead
(source, out uint tmp);
513
return MemoryMarshal.
TryRead
(source, out value);
516
bool success = MemoryMarshal.
TryRead
(source, out ulong tmp);
536
return MemoryMarshal.
TryRead
(source, out value);
539
bool success = MemoryMarshal.
TryRead
(source, out UInt128 tmp);
559
return MemoryMarshal.
TryRead
(source, out value);
562
bool success = MemoryMarshal.
TryRead
(source, out nuint tmp);