From 12167a75fc494deb8040fa3a04961ca5f10d14aa Mon Sep 17 00:00:00 2001 From: Stephen Toub Date: Wed, 27 Feb 2019 13:16:11 -0500 Subject: [PATCH] Fix Thread.ExecutionContext breaking change (#22882) Its getter is a public API and can't be made internal. --- src/System.Private.CoreLib/src/System/Threading/Thread.CoreCLR.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/System.Private.CoreLib/src/System/Threading/Thread.CoreCLR.cs b/src/System.Private.CoreLib/src/System/Threading/Thread.CoreCLR.cs index d4b0015..7efa1b2 100644 --- a/src/System.Private.CoreLib/src/System/Threading/Thread.CoreCLR.cs +++ b/src/System.Private.CoreLib/src/System/Threading/Thread.CoreCLR.cs @@ -254,10 +254,10 @@ namespace System.Threading } } - internal ExecutionContext ExecutionContext + public ExecutionContext ExecutionContext { get { return m_ExecutionContext; } - set { m_ExecutionContext = value; } + internal set { m_ExecutionContext = value; } } internal SynchronizationContext SynchronizationContext -- 2.7.4