public ISymbolScope[] GetChildren() { uint numScopes; scope.GetChildren(0, out numScopes, null); var unScopes = new ISymUnmanagedScope[numScopes]; scope.GetChildren((uint)unScopes.Length, out numScopes, unScopes); var scopes = new ISymbolScope[numScopes]; for (uint i = 0; i < numScopes; i++) scopes[i] = new SymbolScope(unScopes[i]); return scopes; }
public ISymbolScope[] GetChildren() { uint numScopes; scope.GetChildren(0, out numScopes, null); var unScopes = new ISymUnmanagedScope[numScopes]; scope.GetChildren((uint)unScopes.Length, out numScopes, unScopes); var scopes = new ISymbolScope[numScopes]; for (uint i = 0; i < numScopes; i++) { scopes[i] = new SymbolScope(unScopes[i]); } return(scopes); }
public SymbolScopeImpl(ISymUnmanagedScope scope, SymbolMethod method, SymbolScope parent) { this.scope = scope; this.method = method; this.parent = parent; }