Exemplo n.º 1
0
        public static SymbolReader FromDatabase(string path)
        {
            Contract.Requires(path != null);

            var reader = new SymbolReader();

            reader.diaSource.Interface.loadDataFromPdb(path);
            reader.CreateSession();
            return(reader);
        }
Exemplo n.º 2
0
        public static SymbolReader FromModule(Module module, string searchPath)
        {
            Contract.Requires(module != null);

            var reader = new SymbolReader();

            reader.diaSource.Interface.loadDataForExe(module.Path, searchPath, null);
            reader.CreateSession();
            return(reader);
        }