public static SymbolData GetPdbData(string asmPath, SymbolFormat symFormat, bool expandAttrs, bool skipMethods) { // Read the PDB into a SymbolData object SymbolDataReader reader = new SymbolDataReader(asmPath, symFormat, expandAttrs, skipMethods); SymbolData symData = reader.ReadSymbols(); return(symData); }
public static void PdbToXML(string asmPath, string outputXml, SymbolFormat symFormat, bool expandAttrs, bool skipMethods) { // Read the PDB into a SymbolData object SymbolDataReader reader = new SymbolDataReader(asmPath, symFormat, expandAttrs, skipMethods); SymbolData symData = reader.ReadSymbols(); if (symData != null) { PdbDataToXML(outputXml, symData); } }