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