3 writes to _currentState
System.Windows.Forms (3)
System\Windows\Forms\ToolTip\KeyboardToolTipStateMachine.cs (3)
258_currentState = Transition(source, toolTip, @event); 295_currentState = SmState.Hidden; 309return _currentState = SmState.Hidden;
9 references to _currentState
System.Windows.Forms (9)
System\Windows\Forms\ToolTip\KeyboardToolTipStateMachine.cs (9)
56=> (_currentState, @event) switch 59(SmState.Hidden, SmEvent.LeftTool) => _currentState, // OK 60(SmState.ReadyForInitShow, SmEvent.FocusedTool) => _currentState, // unlikely: focus without leave 64(SmState.Shown, SmEvent.FocusedTool) => _currentState, // unlikely: focus without leave 69(SmState.WaitForRefocus, SmEvent.LeftTool) => _currentState, // OK 72(SmState.ReadyForReshow, SmEvent.FocusedTool) => _currentState, // unlikely: focus without leave 175if (toolObject is not null && _currentState == SmState.WaitForRefocus && _refocusDelayExpirationCallback == expirationCallback) 283if (_currentState != SmState.Shown || _currentTool is null) 301if (_currentState == SmState.Shown && _currentTool is not null)