コード例 #1
0
        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);
        }
コード例 #2
0
        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);
            }
        }