10 writes to _phase1Volatiles
System.Transactions.Local (10)
System\Transactions\TransactionState.cs (10)
719
AddVolatileEnlistment(ref tx.
_phase1Volatiles
, enlistment);
745
AddVolatileEnlistment(ref tx.
_phase1Volatiles
, enlistment);
998
AddVolatileEnlistment(ref tx.
_phase1Volatiles
, enlistment);
1025
AddVolatileEnlistment(ref tx.
_phase1Volatiles
, enlistment);
2333
enlistmentsPromoted = PromotePhaseVolatiles(tx, ref tx.
_phase1Volatiles
, false);
2934
VolatileDemultiplexer.BroadcastRollback(ref tx.
_phase1Volatiles
);
3078
VolatileDemultiplexer.BroadcastCommitted(ref tx.
_phase1Volatiles
);
3148
VolatileDemultiplexer.BroadcastInDoubt(ref tx.
_phase1Volatiles
);
3416
AddVolatileEnlistment(ref tx.
_phase1Volatiles
, enlistment);
3443
AddVolatileEnlistment(ref tx.
_phase1Volatiles
, enlistment);
65 references to _phase1Volatiles
System.Transactions.Local (65)
System\Transactions\Enlistment.cs (7)
381
_transaction.
_phase1Volatiles
._preparedVolatileEnlistments++;
388
Debug.Assert(_transaction.
_phase1Volatiles
._preparedVolatileEnlistments <=
389
_transaction.
_phase1Volatiles
._volatileEnlistmentCount +
390
_transaction.
_phase1Volatiles
._dependentClones);
393
if (_transaction.
_phase1Volatiles
._preparedVolatileEnlistments ==
394
_transaction.
_phase1Volatiles
._volatileEnlistmentCount +
395
_transaction.
_phase1Volatiles
._dependentClones)
System\Transactions\TransactionState.cs (58)
635
tx.
_phase1Volatiles
._dependentClones--;
636
Debug.Assert(tx.
_phase1Volatiles
._dependentClones >= 0);
648
tx.
_phase1Volatiles
._dependentClones++;
1188
if (tx.
_phase1Volatiles
._dependentClones != 0)
1194
if (tx.
_phase1Volatiles
._volatileEnlistmentCount == 1 && tx._durableEnlistment == null
1195
&& tx.
_phase1Volatiles
._volatileEnlistments[0].SinglePhaseNotification != null)
1200
else if (tx.
_phase1Volatiles
._volatileEnlistmentCount > 0)
1203
for (int i = 0; i < tx.
_phase1Volatiles
._volatileEnlistmentCount; i++)
1205
tx.
_phase1Volatiles
._volatileEnlistments[i]._twoPhaseState!.ChangeStatePreparing(tx.
_phase1Volatiles
._volatileEnlistments[i]);
1266
Debug.Assert(tx.
_phase1Volatiles
._volatileEnlistmentCount == 1,
1269
tx.
_phase1Volatiles
._volatileEnlistments[0]._twoPhaseState!.ChangeStateSinglePhaseCommit(
1270
tx.
_phase1Volatiles
._volatileEnlistments[0]);
1390
for (int i = 0; i < tx.
_phase1Volatiles
._volatileEnlistmentCount; i++)
1392
tx.
_phase1Volatiles
._volatileEnlistments[i]._twoPhaseState!.InternalAborted(tx.
_phase1Volatiles
._volatileEnlistments[i]);
1524
for (int i = 0; i < tx.
_phase1Volatiles
._volatileEnlistmentCount; i++)
1526
tx.
_phase1Volatiles
._volatileEnlistments[i]._twoPhaseState!.InternalCommitted(tx.
_phase1Volatiles
._volatileEnlistments[i]);
1587
for (int i = 0; i < tx.
_phase1Volatiles
._volatileEnlistmentCount; i++)
1589
tx.
_phase1Volatiles
._volatileEnlistments[i]._twoPhaseState!.InternalIndoubt(tx.
_phase1Volatiles
._volatileEnlistments[i]);
1924
if (null != tx.
_phase1Volatiles
.VolatileDemux)
1926
tx.
_phase1Volatiles
._dependentClones--;
1927
Debug.Assert(tx.
_phase1Volatiles
._dependentClones >= 0);
1981
if (null != tx.
_phase1Volatiles
.VolatileDemux)
1983
tx.
_phase1Volatiles
._dependentClones++;
2587
if (tx.
_phase1Volatiles
._dependentClones != 0)
2595
int volatileCount = tx.
_phase1Volatiles
._volatileEnlistmentCount;
2600
if (tx.
_phase1Volatiles
._preparedVolatileEnlistments < volatileCount)
2605
tx.
_phase1Volatiles
._volatileEnlistments[i]._twoPhaseState!.ChangeStatePreparing(
2606
tx.
_phase1Volatiles
._volatileEnlistments[i]);
2644
Debug.Assert(tx.
_phase1Volatiles
.VolatileDemux != null, "Volatile Demux must exist for VolatilePrepareDone when promoted.");
2649
Debug.Assert(tx.
_phase1Volatiles
.VolatileDemux._promotedEnlistment != null);
2651
tx.
_phase1Volatiles
.VolatileDemux._promotedEnlistment.Prepared();
2801
Debug.Assert(tx.
_phase1Volatiles
.VolatileDemux != null, "Volatile Demux must exist.");
2808
Debug.Assert(tx.
_phase1Volatiles
.VolatileDemux._promotedEnlistment != null);
2810
tx.
_phase1Volatiles
.VolatileDemux._promotedEnlistment.ForceRollback();
2932
if (tx.
_phase1Volatiles
.VolatileDemux != null)
3076
if (tx.
_phase1Volatiles
.VolatileDemux != null)
3146
if (tx.
_phase1Volatiles
.VolatileDemux != null)
3553
tx.
_phase1Volatiles
._dependentClones--;
3554
Debug.Assert(tx.
_phase1Volatiles
._dependentClones >= 0);
3566
tx.
_phase1Volatiles
._dependentClones++;
3751
if (tx.
_phase1Volatiles
._dependentClones != 0)
3757
if (tx.
_phase1Volatiles
._volatileEnlistmentCount > 0)
3760
for (int i = 0; i < tx.
_phase1Volatiles
._volatileEnlistmentCount; i++)
3762
tx.
_phase1Volatiles
._volatileEnlistments[i]._twoPhaseState!.ChangeStatePreparing(tx.
_phase1Volatiles
._volatileEnlistments[i]);
4038
for (int i = 0; i < tx.
_phase1Volatiles
._volatileEnlistmentCount; i++)
4040
tx.
_phase1Volatiles
._volatileEnlistments[i]._twoPhaseState!.InternalAborted(tx.
_phase1Volatiles
._volatileEnlistments[i]);
4134
for (int i = 0; i < tx.
_phase1Volatiles
._volatileEnlistmentCount; i++)
4136
tx.
_phase1Volatiles
._volatileEnlistments[i]._twoPhaseState!.InternalCommitted(tx.
_phase1Volatiles
._volatileEnlistments[i]);
4178
for (int i = 0; i < tx.
_phase1Volatiles
._volatileEnlistmentCount; i++)
4180
tx.
_phase1Volatiles
._volatileEnlistments[i]._twoPhaseState!.InternalIndoubt(tx.
_phase1Volatiles
._volatileEnlistments[i]);