Beispiel #1
0
        public ISymbolSearchInfo[] GetSymbolSearchInfo()
        {
            int count = 0;

            ((ISymUnmanagedReaderSymbolSearchInfo)m_reader).GetSymbolSearchInfo(0, out count, null);
            var unmanagedSearchInfo = new ISymUnmanagedSymbolSearchInfo[count];

            ((ISymUnmanagedReaderSymbolSearchInfo)m_reader).GetSymbolSearchInfo(count, out count, unmanagedSearchInfo);

            var searchInfo = new ISymbolSearchInfo[count];

            uint i;

            for (i = 0; i < count; i++)
            {
                searchInfo[i] = new SymSymbolSearchInfo(unmanagedSearchInfo[i]);
            }
            return(searchInfo);
        }
        public ISymbolSearchInfo[] GetSymbolSearchInfo()
        {
            int count = 0;
            ((ISymUnmanagedReaderSymbolSearchInfo) m_reader).GetSymbolSearchInfo(0, out count, null);
            var unmanagedSearchInfo = new ISymUnmanagedSymbolSearchInfo[count];
            ((ISymUnmanagedReaderSymbolSearchInfo) m_reader).GetSymbolSearchInfo(count, out count, unmanagedSearchInfo);

            var searchInfo = new ISymbolSearchInfo[count];

            uint i;
            for (i = 0; i < count; i++)
            {
                searchInfo[i] = new SymSymbolSearchInfo(unmanagedSearchInfo[i]);
            }
            return searchInfo;
        }