4 writes to NewItemTransaction
System.Windows.Forms.Design (4)
System\Windows\Forms\Design\ToolStripDesigner.cs (2)
510NewItemTransaction = _host.CreateTransaction(SR.ToolStripCreatingNewItemTransaction); 544NewItemTransaction = null;
System\Windows\Forms\Design\ToolStripItemDesigner.cs (2)
363designer.NewItemTransaction = null; 421designer.NewItemTransaction = null;
7 references to NewItemTransaction
System.Windows.Forms.Design (7)
System\Windows\Forms\Design\ToolStripDesigner.cs (3)
541if (NewItemTransaction is not null) 543NewItemTransaction.Cancel(); 2451Debug.Assert(NewItemTransaction is null, "NewItemTransaction should have been nulled out and cancelled by now.");
System\Windows\Forms\Design\ToolStripItemDesigner.cs (4)
360if (designer.NewItemTransaction is not null) 362designer.NewItemTransaction.Commit(); 418if (designer.NewItemTransaction is not null) 420designer.NewItemTransaction.Cancel();