private bool TransferUpgrade()
            {
                ConnectionOrientedTransportReplyChannel currentChannel = (ConnectionOrientedTransportReplyChannel)base.GetCurrentChannel();

                if (currentChannel == null)
                {
                    return(false);
                }
                return(currentChannel.TransferUpgrade(this.upgrade));
            }
            // used to decouple our channel and listener lifetimes
            bool TransferUpgrade()
            {
                ConnectionOrientedTransportReplyChannel singletonChannel = (ConnectionOrientedTransportReplyChannel)base.GetCurrentChannel();

                if (singletonChannel == null)
                {
                    return(false);
                }
                else
                {
                    return(singletonChannel.TransferUpgrade(this.upgrade));
                }
            }