public ISymbolScope[] GetChildren() { int count; unmanagedScope.GetChildren(0, out count, null); ISymUnmanagedScope[] uScopes = new ISymUnmanagedScope[count]; unmanagedScope.GetChildren(count, out count, uScopes); int i; ISymbolScope[] scopes = new ISymbolScope[count]; for (i = 0; i < count; i++) { scopes[i] = new SymbolScope(uScopes[i]); } return(scopes); }
public ISymbolScope[] GetChildren() { int count; unmanagedScope.GetChildren(0, out count, null); ISymUnmanagedScope[] uScopes = new ISymUnmanagedScope[count]; unmanagedScope.GetChildren(count, out count, uScopes); int i; ISymbolScope[] scopes = new ISymbolScope[count]; for (i = 0; i < count; i++) { scopes[i] = new SymbolScope(uScopes[i]); } return scopes; }