7 references to ReadAllBytes
Microsoft.CodeAnalysis (2)
NativePdbWriter\PdbWriter.cs (1)
741bytes = stream.ReadAllBytes();
PEWriter\MetadataWriter.PortablePdb.cs (1)
855bytes = stream.ReadAllBytes();
Microsoft.CodeAnalysis.CSharp.Emit.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());
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (1)
CommandLineTests.vb (1)
7119Return Temp.CreateFile().WriteAllBytes(GetType(CommandLineTests).Assembly.GetManifestResourceStream("vbc.rsp").ReadAllBytes()).Path