Пример #1
0
        internal SymReader(byte[] pdbBytes, ImmutableDictionary <string, byte[]> constantSignaturesOpt = null)
        {
            _reader = SymUnmanagedReaderExtensions.CreateReader(
                new MemoryStream(pdbBytes),
                PDB::Roslyn.Test.PdbUtilities.DummyMetadataImport.Instance);

            _constantSignaturesOpt = constantSignaturesOpt;
        }
Пример #2
0
 internal static ISymUnmanagedReader CreateReader(Stream pdb)
 {
     return(SymUnmanagedReaderExtensions.CreateReader(pdb, DummyMetadataImport.Instance));
 }