1 write to _switchName
System.Private.Windows.Core.TestUtilities (1)
AppContextSwitchScope.cs (1)
45_switchName = switchName;
3 references to _switchName
System.Private.Windows.Core.TestUtilities (3)
AppContextSwitchScope.cs (3)
50AppContext.SetSwitch(_switchName, _originalState); 51if (!AppContext.TryGetSwitch(_switchName, out bool isEnabled) || isEnabled != _originalState) 53throw new InvalidOperationException($"Could not reset {_switchName} to {_originalState}.");