public static bool IsVirtualized(this IDebugPendingBreakpoint2 breakpoint)
        {
            Contract.Requires <ArgumentNullException>(breakpoint != null, "breakpoint");

            PENDING_BP_STATE_INFO[] state = new PENDING_BP_STATE_INFO[1];
            ErrorHandler.ThrowOnFailure(breakpoint.GetState(state));
            return((state[0].Flags & enum_PENDING_BP_STATE_FLAGS.PBPSF_VIRTUALIZED) != 0);
        }
        public static enum_PENDING_BP_STATE GetState(this IDebugPendingBreakpoint2 breakpoint)
        {
            Contract.Requires <ArgumentNullException>(breakpoint != null, "breakpoint");

            PENDING_BP_STATE_INFO[] state = new PENDING_BP_STATE_INFO[1];
            ErrorHandler.ThrowOnFailure(breakpoint.GetState(state));
            return(state[0].state);
        }