diff options
author | Stephen Toub <stoub@microsoft.com> | 2017-10-03 22:13:53 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-03 22:13:53 -0400 |
commit | 6f006e03151b32b87045718b3011a920fda93dba (patch) | |
tree | ad72f6600084dbc2995df73c09865eed5ec04748 | |
parent | 10f5a84bfd5a38000e34f8ed75150110bb9440de (diff) | |
download | coreclr-6f006e03151b32b87045718b3011a920fda93dba.tar.gz coreclr-6f006e03151b32b87045718b3011a920fda93dba.tar.bz2 coreclr-6f006e03151b32b87045718b3011a920fda93dba.zip |
Make CancellationTokenRegistration.Token public (#14310)
-rw-r--r-- | src/mscorlib/src/System/Threading/CancellationTokenRegistration.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mscorlib/src/System/Threading/CancellationTokenRegistration.cs b/src/mscorlib/src/System/Threading/CancellationTokenRegistration.cs index e0a52581f6..b3571d8f69 100644 --- a/src/mscorlib/src/System/Threading/CancellationTokenRegistration.cs +++ b/src/mscorlib/src/System/Threading/CancellationTokenRegistration.cs @@ -41,7 +41,7 @@ namespace System.Threading /// registration isn't associated with a token (such as after the registration has been disposed), /// this will return a default token. /// </summary> - internal CancellationToken Token => _node?.Partition.Source.Token ?? default(CancellationToken); + public CancellationToken Token => _node?.Partition.Source.Token ?? default(CancellationToken); /// <summary> /// Disposes of the registration and unregisters the target callback from the associated |