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