Remove TODO comment from CancellationTokenRegistration.Unregister (dotnet/coreclr...
authorStephen Toub <stoub@microsoft.com>
Thu, 12 Jul 2018 02:30:56 +0000 (22:30 -0400)
committerGitHub <noreply@github.com>
Thu, 12 Jul 2018 02:30:56 +0000 (22:30 -0400)
Commit migrated from https://github.com/dotnet/coreclr/commit/dd32971158d5309179df93adfce62140bdc79fbd

src/coreclr/src/System.Private.CoreLib/src/System/Threading/CancellationTokenRegistration.cs

index b02eba5..815c9cc 100644 (file)
@@ -47,7 +47,7 @@ namespace System.Threading
         /// Disposes of the registration and unregisters the target callback from the associated 
         /// <see cref="T:System.Threading.CancellationToken">CancellationToken</see>.
         /// </summary>
-        public bool Unregister() // TODO dotnet/corefx#14903: This is "public" for corefx usage, but it's not yet in the refs or approved public API.
+        public bool Unregister()
         {
             CancellationTokenSource.CallbackNode node = _node;
             return node != null && node.Partition.Unregister(_id, node);