public ChannelPermissions GetPermissions(Channel channel) { if (channel == null) { throw new ArgumentNullException(nameof(channel)); } return(channel.GetPermissions(this)); }