4 writes to NewItemTransaction
System.Windows.Forms.Design (4)
System\Windows\Forms\Design\ToolStripDesigner.cs (2)
477NewItemTransaction = _host.CreateTransaction(SR.ToolStripCreatingNewItemTransaction); 506NewItemTransaction = null;
System\Windows\Forms\Design\ToolStripItemDesigner.cs (2)
361designer.NewItemTransaction = null; 413designer.NewItemTransaction = null;
5 references to NewItemTransaction
System.Windows.Forms.Design (4)
System\Windows\Forms\Design\ToolStripDesigner.cs (2)
505NewItemTransaction?.Cancel(); 2449Debug.Assert(NewItemTransaction is null, "NewItemTransaction should have been nulled out and cancelled by now.");
System\Windows\Forms\Design\ToolStripItemDesigner.cs (2)
360designer.NewItemTransaction?.Commit(); 412designer.NewItemTransaction?.Cancel();
System.Windows.Forms.Design.Tests (1)
ToolStripDesignerTests.cs (1)
66Assert.Null(toolStripDesigner.NewItemTransaction);