From: Stephen Toub Date: Wed, 27 Feb 2019 18:16:11 +0000 (-0500) Subject: Fix Thread.ExecutionContext breaking change (#22882) X-Git-Tag: accepted/tizen/unified/20190813.215958~61^2~124 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=12167a75fc494deb8040fa3a04961ca5f10d14aa;p=platform%2Fupstream%2Fcoreclr.git Fix Thread.ExecutionContext breaking change (#22882) Its getter is a public API and can't be made internal. --- 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