1 write to _switchName
PresentationCore.Tests (1)
TestUtilities\AppContextSwitchScope.cs (1)
37_switchName = switchName;
3 references to _switchName
PresentationCore.Tests (3)
TestUtilities\AppContextSwitchScope.cs (3)
42AppContext.SetSwitch(_switchName, _originalState); 43if (!AppContext.TryGetSwitch(_switchName, out bool isEnabled) || isEnabled != _originalState) 45throw new InvalidOperationException($"Could not reset {_switchName} to {_originalState}.");