/// <summary> /// </summary> /// <param name="filename"> /// </param> public static void Convert(string filename, ISymbolWriter symbolWriter) { using (var stream = File.OpenRead(filename)) { var funcs = PdbFile.LoadFunctions(stream, true); Convert(funcs, symbolWriter); } }
/// <summary> /// </summary> /// <param name="filename"> /// </param> /// <param name="symbolWriter"> /// </param> internal Converter(string filename, ISymbolWriter symbolWriter) { this.symbolWriter = symbolWriter; using (var stream = File.OpenRead(filename)) { foreach (var pdbFunc in PdbFile.LoadFunctions(stream, true)) { funcs[pdbFunc.token] = pdbFunc; } } }