6 references to ReadAllBytes
Microsoft.CodeAnalysis (2)
NativePdbWriter\PdbWriter.cs (1)
754bytes = stream.ReadAllBytes();
PEWriter\MetadataWriter.PortablePdb.cs (1)
855bytes = stream.ReadAllBytes();
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (1)
PDB\PDBSourceLinkTests.cs (1)
190var bs = Roslyn.Utilities.StreamExtensions.ReadAllBytes(pdbStream);
Microsoft.CodeAnalysis.UnitTests (3)
InternalUtilities\StreamExtensionsTests.cs (3)
134Assert.Equal(new byte[] { 2, 3, 4 }, stream.ReadAllBytes()); 146Assert.Equal(new byte[0], stream.ReadAllBytes()); 156Assert.Equal(new byte[] { 1, 2 }, stream.ReadAllBytes());