5 internal static class AppContextDefaultValues
7 internal const string SwitchNoAsyncCurrentCulture = "Switch.System.Globalization.NoAsyncCurrentCulture";
8 internal const string SwitchThrowExceptionIfDisposedCancellationTokenSource = "Switch.System.Threading.ThrowExceptionIfDisposedCancellationTokenSource";
9 internal const string SwitchPreserveEventListnerObjectIdentity = "Switch.System.Diagnostics.EventSource.PreserveEventListnerObjectIdentity";
10 internal const string SwitchUseLegacyPathHandling = "Switch.System.IO.UseLegacyPathHandling";
11 internal const string SwitchBlockLongPaths = "Switch.System.IO.BlockLongPaths";
12 internal const string SwitchDoNotAddrOfCspParentWindowHandle = "Switch.System.Security.Cryptography.DoNotAddrOfCspParentWindowHandle";
13 internal const string SwitchSetActorAsReferenceWhenCopyingClaimsIdentity = "Switch.System.Security.ClaimsIdentity.SetActorAsReferenceWhenCopyingClaimsIdentity";
15 public static void PopulateDefaultValues () {
18 //TODO Use the values in app.config
19 public static bool TryGetSwitchOverride (string switchName, out bool overrideValue)
21 // The default value for a switch is 'false'
22 overrideValue = false;