Introduce a way to override AppContext switches from the project.json file
authorAlex Ghiondea <ghiondea.alexandru@microsoft.com>
Mon, 16 May 2016 23:28:23 +0000 (16:28 -0700)
committerAlex Ghiondea <ghiondea.alexandru@microsoft.com>
Tue, 17 May 2016 04:46:37 +0000 (21:46 -0700)
commit9a7e9c1062372c695b36e318dd05997d66eb9c3b
tree3731390401ad34da908ff318f5714c2b4d2366dd
parentae8ca7042c6ee3fc19393204b91099b43b1c0239
Introduce a way to override AppContext switches from the project.json file

When switch value is requested, we are going to check and see if we have an
override that we read from the project.json file. If we do, we are going to try
and parse that as a boolean and use as the value for that switch.

Commit migrated from https://github.com/dotnet/coreclr/commit/d30478df5ca1676cdea30c90355cae5a985424e0
src/coreclr/src/mscorlib/mscorlib.shared.sources.props
src/coreclr/src/mscorlib/src/System/AppContext/AppContextDefaultValues.CoreClrOverrides.cs [new file with mode: 0644]