Documenting `InvalidOperationException` for `ReadLockAsync` (and possibly other methods)
I know that AsyncReaderWriterLock has the "completion" feature (i.e. asyncReaderWriterLock.Complete()) but:
https://github.com/microsoft/vs-threading/blob/1738f83f42856926f50820fc49f44d80d2dbbab3/src/Microsoft.VisualStudio.Threading/AsyncReaderWriterLock.cs#L408-L416
is not really helpful in explaining what happens when the AsyncReaderWriterLock.Complete() has been called.
For me it throws: System.InvalidOperationException : This lock has already been marked for completion. No new top-level locks can be serviced.
Would it be worth documening that?
cc @AArnott
Sure. Are you thinking some /// <exception docs on the impacted APIs? If so, would you be interested in sending a PR?