summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Toub <stoub@microsoft.com>2017-10-03 22:13:53 -0400
committerGitHub <noreply@github.com>2017-10-03 22:13:53 -0400
commit6f006e03151b32b87045718b3011a920fda93dba (patch)
treead72f6600084dbc2995df73c09865eed5ec04748
parent10f5a84bfd5a38000e34f8ed75150110bb9440de (diff)
downloadcoreclr-6f006e03151b32b87045718b3011a920fda93dba.tar.gz
coreclr-6f006e03151b32b87045718b3011a920fda93dba.tar.bz2
coreclr-6f006e03151b32b87045718b3011a920fda93dba.zip
Make CancellationTokenRegistration.Token public (#14310)
-rw-r--r--src/mscorlib/src/System/Threading/CancellationTokenRegistration.cs2
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