Пример #1
0
		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;
		}
Пример #2
0
        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);
        }
Пример #3
0
 public SymbolScopeImpl(ISymUnmanagedScope scope, SymbolMethod method, SymbolScope parent)
 {
     this.scope  = scope;
     this.method = method;
     this.parent = parent;
 }