private bool EqualVoiceChannel(SocketVoiceChannel x, SocketVoiceChannel y) { if (x == null) { if (y == null) { throw new Exception(); } else { return(false); } } else { if (y == null) { return(false); } else { return(x.Equals(y)); } } }