From 4e7501584427e72f62c72c07a2a1fafa6a3199e3 Mon Sep 17 00:00:00 2001 From: Aaron Robinson Date: Wed, 9 Mar 2022 11:16:21 -0500 Subject: [PATCH] Update CancellationToken.cs (#66399) Remove ObjectDisposedException from doc since the method doesn't throw the exception. --- .../System.Private.CoreLib/src/System/Threading/CancellationToken.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/libraries/System.Private.CoreLib/src/System/Threading/CancellationToken.cs b/src/libraries/System.Private.CoreLib/src/System/Threading/CancellationToken.cs index f7d4f44..c08ce1a 100644 --- a/src/libraries/System.Private.CoreLib/src/System/Threading/CancellationToken.cs +++ b/src/libraries/System.Private.CoreLib/src/System/Threading/CancellationToken.cs @@ -351,8 +351,6 @@ namespace System.Threading /// /// /// The token has had cancellation requested. - /// The associated CancellationTokenSource has been disposed. public void ThrowIfCancellationRequested() { if (IsCancellationRequested) -- 2.7.4