public ISymbolConstant[] GetConstants() { ((ISymUnmanagedScope2)m_target).GetConstants(0, out var count, null); ISymUnmanagedConstant[] uConstants = new ISymUnmanagedConstant[count]; ((ISymUnmanagedScope2)m_target).GetConstants(count, out count, uConstants); int i; ISymbolConstant[] Constants = new ISymbolConstant[count]; for (i = 0; i < count; i++) { Constants[i] = new SymConstant(uConstants[i]); } return(Constants); }
public ISymbolConstant[] GetConstants() { int count; ((ISymUnmanagedScope2)m_target).GetConstants(0, out count, null); ISymUnmanagedConstant[] uConstants = new ISymUnmanagedConstant[count]; ((ISymUnmanagedScope2)m_target).GetConstants(count, out count, uConstants); int i; ISymbolConstant[] Constants = new ISymbolConstant[count]; for (i = 0; i < count; i++) { Constants[i] = new SymConstant(uConstants[i]); } return Constants; }