Reintroduced Channel.SendEof() in changeset 41014.
The new implementation is different from the original one in that it throws an InvalidOperationException when the channel is not (or no longer) open.
The new implementation is different from the original one in that it throws an InvalidOperationException when the channel is not (or no longer) open.