Exemplo n.º 1
0
        public MonoSymbolWriter(string filename)
        {
            this.methods = new List<SourceMethodBuilder> ();
            this.sources = new List<SourceFileEntry> ();
            this.comp_units = new List<CompileUnitEntry> ();
            this.file = new MonoSymbolFile ();

            this.filename = filename + ".mdb";
        }
Exemplo n.º 2
0
        public void DefineMethod(MonoSymbolFile file, int token)
        {
            MethodEntry entry = new MethodEntry (
                file, _comp_unit.Entry, token, ScopeVariables,
                Locals, method_lines.ToArray (), Blocks, null, MethodEntry.Flags.ColumnsInfoIncluded, ns_id);

            file.AddMethod (entry);
        }
Exemplo n.º 3
0
 public void DefineMethod(MonoSymbolFile file)
 {
     DefineMethod (file, method.Token);
 }
Exemplo n.º 4
0
 public MdbReader(ModuleDefinition module, MonoSymbolFile symFile)
 {
     this.module = module;
     this.symbol_file = symFile;
     this.documents = new Dictionary<string, Document> ();
 }