8 references to SetSwitch
Binding.Http.IntegrationTests (1)
OperationContextTests.cs (1)
20AppContext.SetSwitch("System.ServiceModel.OperationContext.DisableAsyncFlow", true);
Microsoft.AspNetCore.Components.WebAssembly (1)
Hosting\WebAssemblyHostBuilder.cs (1)
129AppContext.SetSwitch("Microsoft.AspNetCore.Components.Routing.RegexConstraintSupport", true);
Microsoft.Private.Windows.Core (1)
System\Private\Windows\CoreAppContextSwitches.cs (1)
61AppContext.SetSwitch(switchName, isSwitchEnabled);
System.Private.Windows.Core (1)
System\Private\Windows\CoreAppContextSwitches.cs (1)
61AppContext.SetSwitch(switchName, isSwitchEnabled);
System.Private.Windows.Core.TestUtilities (2)
AppContextSwitchScope.cs (2)
40AppContext.SetSwitch(switchName, enable); 51AppContext.SetSwitch(_switchName, _originalState);
System.ServiceModel.NetNamedPipe.Tests (1)
NetNamedPipeBindingTest.cs (1)
24AppContext.SetSwitch("Switch.System.ServiceModel.UseSha1InPipeConnectionGetHashAlgorithm", true);
System.Windows.Forms.Primitives (1)
System\LocalAppContextSwitches\LocalAppContextSwitches.cs (1)
105AppContext.SetSwitch(switchName, isSwitchEnabled);