Remove ObjectDisposedException triple slash from CancellationToken.ThrowIfCancellationRequested #66369
Labels
area-System.Threading
documentation
Documentation bug or enhancement, does not impact product or test code
Milestone
From this discussion: https://github.com/dotnet/dotnet-api-docs/pull/7807/files#r822056944
This exception needs to be removed from triple slash comments since it is not thrown by the method. This will ensure we don't accidentally port it back to dotnet-api-docs, considering we run a tool to port source documentation to api docs.
@kouvel
Source that needs to be removed:
https://github.com/dotnet/runtime/blob/main/src%2Flibraries%2FSystem.Private.CoreLib%2Fsrc%2FSystem%2FThreading%2FCancellationToken.cs#L354
The text was updated successfully, but these errors were encountered: