public static SymWriter CreateWriter(ModuleDefinition module, string pdb) { var writer = new SymWriter(); if (File.Exists(pdb)) { File.Delete(pdb); } writer.Initialize(new ModuleMetadata(module), pdb, true); return(writer); }
internal PdbWriter(ModuleDefinition module, SymWriter writer) { this.module = module; this.writer = writer; this.documents = new Dictionary <string, SymDocumentWriter> (); }