public ISymbolSearchInfo[] GetSymbolSearchInfo() { int count = 0; ((ISymUnmanagedReaderSymbolSearchInfo)m_reader).GetSymbolSearchInfo(0, out count, null); ISymUnmanagedSymbolSearchInfo[] unmanagedSearchInfo = new ISymUnmanagedSymbolSearchInfo[count]; ((ISymUnmanagedReaderSymbolSearchInfo)m_reader).GetSymbolSearchInfo(count, out count, unmanagedSearchInfo); ISymbolSearchInfo[] 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); ISymUnmanagedSymbolSearchInfo[] unmanagedSearchInfo = new ISymUnmanagedSymbolSearchInfo[count]; ((ISymUnmanagedReaderSymbolSearchInfo)m_reader).GetSymbolSearchInfo(count, out count, unmanagedSearchInfo); ISymbolSearchInfo[] searchInfo = new ISymbolSearchInfo[count]; uint i; for (i = 0; i < count; i++) { searchInfo[i] = new SymSymbolSearchInfo(unmanagedSearchInfo[i]); } return searchInfo; }