Inheritance: ISymbolWriter
        public ISymbolWriter GetSymbolWriter(ModuleDefinition module, string fileName)
        {
            Mixin.CheckModule(module);
            Mixin.CheckFileName(fileName);
            MemoryStream      memoryStream = new MemoryStream();
            PortablePdbWriter writer       = (PortablePdbWriter) new PortablePdbWriterProvider().GetSymbolWriter(module, memoryStream);

            return(new EmbeddedPortablePdbWriter(memoryStream, writer));
        }
Exemple #2
0
 internal EmbeddedPortablePdbWriter(Stream stream, PortablePdbWriter writer)
 {
     this.stream = stream;
     this.writer = writer;
 }