Expose AppContext.SetData in ref assembly (#62996)
authorRobin Lindner <robin.lindner1@t-online.de>
Tue, 21 Dec 2021 14:55:05 +0000 (15:55 +0100)
committerGitHub <noreply@github.com>
Tue, 21 Dec 2021 14:55:05 +0000 (06:55 -0800)
commit6a9bfee0c9cd327d4ff4f40d02208ed90135e3ea
treea1f47a630550f5a5ec5912d687f080d53d6e1297
parent1c09d36e3a86d16c8241cda418ed121149a6cc90
Expose AppContext.SetData in ref assembly (#62996)

* Expose AppContext.SetData in ref assembly

* Implement test for Set/GetData

* Add doc comment
src/libraries/System.Private.CoreLib/src/System/AppContext.cs
src/libraries/System.Runtime/ref/System.Runtime.cs
src/libraries/System.Runtime/tests/System.Runtime.Tests.csproj
src/libraries/System.Runtime/tests/System/AppContext/AppContextTests.Switch.Validation.cs [moved from src/libraries/System.Runtime/tests/System/AppContext/AppContext.Switch.Validation.cs with 100% similarity]
src/libraries/System.Runtime/tests/System/AppContext/AppContextTests.Switch.cs [moved from src/libraries/System.Runtime/tests/System/AppContext/AppContext.Switch.cs with 100% similarity]
src/libraries/System.Runtime/tests/System/AppContext/AppContextTests.cs [new file with mode: 0644]