コード例 #1
0
ファイル: SymbolScope.cs プロジェクト: Excelion/dnlib
		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
ファイル: SymbolScope.cs プロジェクト: hmflash/dnlib
        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;
 }