예제 #1
0
 /// <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);
     }
 }
예제 #2
0
 /// <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;
         }
     }
 }