1 reference to TryGetLength
Microsoft.Build (1)
Logging\BinaryLogger\Postprocessing\StreamExtensions.cs (1)
62
MemoryStream ms = stream.
TryGetLength
(out long length) && length <= int.MaxValue ? new((int)length) : new();