8 writes to _pendingTransaction
System.Windows.Forms.Design (8)
System\Windows\Forms\Design\ToolStripDesigner.cs (8)
688_pendingTransaction = null; 707_pendingTransaction = null; 940_pendingTransaction = null; 949_pendingTransaction = null; 999_insertMenuItemTransaction = _pendingTransaction = _host.CreateTransaction(SR.ToolStripDesignerTransactionAddingItem); 1050_pendingTransaction = null; 1116_pendingTransaction = _host.CreateTransaction(SR.ToolStripDesignerTransactionRemovingItem); 1129_pendingTransaction = null;
15 references to _pendingTransaction
System.Windows.Forms.Design (15)
System\Windows\Forms\Design\ToolStripDesigner.cs (15)
565Debug.Assert(_pendingTransaction is null, "Adding item with pending transaction?"); 685if (_pendingTransaction is not null) 687_pendingTransaction.Cancel(); 704if (_pendingTransaction is not null) 706_pendingTransaction.Cancel(); 937if (_pendingTransaction is not null) 939_pendingTransaction.Cancel(); 946if (_pendingTransaction is not null) 948_pendingTransaction.Commit(); 996if (_pendingTransaction is null) 1047if (_pendingTransaction is not null) 1049_pendingTransaction.Commit(); 1113Debug.Assert(_pendingTransaction is null, "Removing item with pending transaction?"); 1126if (_pendingTransaction is not null) 1128_pendingTransaction.Cancel();