1 reference to TryGetBytesFromStream
Microsoft.CodeAnalysis.Workspaces (1)
src\Compilers\Core\Portable\EncodedStringText.cs (1)
144
if (
TryGetBytesFromStream
(data, out ArraySegment<byte> bytes) && bytes.Offset == 0 && bytes.Array is object)