Пример #1
0
        public uint Next(uint celt, ICorDebugChain[] chains)
        {
            uint pceltFetched;

            Debugger.Interop.CorDebug.ICorDebugChain[] array_chains = new Debugger.Interop.CorDebug.ICorDebugChain[chains.Length];
            for (int i = 0; (i < chains.Length); i = (i + 1))
            {
                if ((chains[i] != null))
                {
                    array_chains[i] = chains[i].WrappedObject;
                }
            }
            this.WrappedObject.Next(celt, array_chains, out pceltFetched);
            for (int i = 0; (i < chains.Length); i = (i + 1))
            {
                if ((array_chains[i] != null))
                {
                    chains[i] = ICorDebugChain.Wrap(array_chains[i]);
                }
                else
                {
                    chains[i] = null;
                }
            }
            return(pceltFetched);
        }
Пример #2
0
		public ICorDebugChain Next()
		{
			ICorDebugChain[] corChains = new ICorDebugChain[1];
			uint chainsFetched = this.Next(1, corChains);
			if (chainsFetched == 0) {
				return null;
			} else {
				return corChains[0];
			}
		}
Пример #3
0
        public ICorDebugChain Next()
        {
            ICorDebugChain[] corChains     = new ICorDebugChain[1];
            uint             chainsFetched = this.Next(1, corChains);

            if (chainsFetched == 0)
            {
                return(null);
            }
            else
            {
                return(corChains[0]);
            }
        }
        public override bool Equals(object o)
        {
            ICorDebugChain casted = o as ICorDebugChain;

            return((casted != null) && (casted.WrappedObject == wrappedObject));
        }