1 write to _unitStack
System.Windows.Forms.Design (1)
System\ComponentModel\Design\UndoEngine.cs (1)
39_unitStack = new Stack<UndoUnit>();
25 references to _unitStack
System.Windows.Forms.Design (25)
System\ComponentModel\Design\UndoEngine.cs (25)
159UndoUnit unit = _unitStack.Pop(); 168if (_unitStack.Count == 0) 175if (_unitStack.Count == 0) 183if (_unitStack.Count == 0) 318foreach (UndoUnit unit in _unitStack) 323if (_unitStack.Count > 0) 333if (Enabled && _executingUnit is null && _unitStack.Count == 0) 345_unitStack.Push(CreateUndoUnit(name, true)); 349foreach (UndoUnit unit in _unitStack) 357foreach (UndoUnit unit in _unitStack) 362if (_unitStack.Count > 0) 372if (Enabled && _executingUnit is null && _unitStack.Count == 0) 389_unitStack.Push(CreateUndoUnit(name, true)); 393foreach (UndoUnit unit in _unitStack) 401foreach (UndoUnit unit in _unitStack) 406if (_unitStack.Count > 0) 425if (Enabled && _executingUnit is null && _unitStack.Count == 0) 437_unitStack.Push(CreateUndoUnit(name, true)); 490foreach (UndoUnit unit in _unitStack) 500if (Enabled && _executingUnit is null && _unitStack.Count == 0) 503_unitStack.Push(CreateUndoUnit(name, true)); 508foreach (UndoUnit unit in _unitStack) 516if (_executingUnit is null && _unitStack.Count > 0) 529_unitStack.Push(CreateUndoUnit(_host.TransactionDescription, _unitStack.Count == 0));