public int EnumThreads(out IEnumDebugThreads2 ppEnum)
        {
            // EnumThreads is called by the debugger when it needs to enumerate the threads in the program.

            ppEnum = new AD7ThreadEnum(new[] { mThread });
            return(VSConstants.S_OK);
        }
        public int EnumThreads(out IEnumDebugThreads2 ppEnum)
        {
            var xEnum = new AD7ThreadEnum(new IDebugThread2[] { mThread });

            ppEnum = xEnum;
            return(VSConstants.S_OK);
        }