Open
Description
AppContext is useful only for workloads which allow users to alter the execution environment or launch configs but for workloads which don't there should be an option to remove all AppContext logic and use the values known at compilation time.
There are multiple ways how AppContext is handled inside libraries, some use LocalAppContextSwitches others AppContextConfigHelper or call AppContext directly. This should be unified so we can trim all AppContext logic and keep only code path which will be executed.