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)
565
Debug.Assert(
_pendingTransaction
is null, "Adding item with pending transaction?");
685
if (
_pendingTransaction
is not null)
687
_pendingTransaction
.Cancel();
704
if (
_pendingTransaction
is not null)
706
_pendingTransaction
.Cancel();
937
if (
_pendingTransaction
is not null)
939
_pendingTransaction
.Cancel();
946
if (
_pendingTransaction
is not null)
948
_pendingTransaction
.Commit();
996
if (
_pendingTransaction
is null)
1047
if (
_pendingTransaction
is not null)
1049
_pendingTransaction
.Commit();
1113
Debug.Assert(
_pendingTransaction
is null, "Removing item with pending transaction?");
1126
if (
_pendingTransaction
is not null)
1128
_pendingTransaction
.Cancel();