10 writes to phase0Volatiles
System.Transactions (10)
System\Transactions\TransactionState.cs (10)
1368
AddVolatileEnlistment( ref tx.
phase0Volatiles
, enlistment );
1398
AddVolatileEnlistment( ref tx.
phase0Volatiles
, enlistment );
1673
AddVolatileEnlistment( ref tx.
phase0Volatiles
, enlistment );
1704
AddVolatileEnlistment( ref tx.
phase0Volatiles
, enlistment );
3074
enlistmentsPromoted = PromotePhaseVolatiles( tx, ref tx.
phase0Volatiles
, true );
3750
tx.phase0Volatiles.VolatileDemux.BroadcastRollback( ref tx.
phase0Volatiles
);
3896
tx.phase0Volatiles.VolatileDemux.BroadcastCommitted( ref tx.
phase0Volatiles
);
3968
tx.phase0Volatiles.VolatileDemux.BroadcastInDoubt( ref tx.
phase0Volatiles
);
4232
AddVolatileEnlistment(ref tx.
phase0Volatiles
, enlistment);
4262
AddVolatileEnlistment(ref tx.
phase0Volatiles
, enlistment);
82 references to phase0Volatiles
System.Transactions (82)
System\Transactions\Enlistment.cs (6)
314
this.Transaction.
phase0Volatiles
.preparedVolatileEnlistments++;
322
Debug.Assert(this.Transaction.
phase0Volatiles
.preparedVolatileEnlistments <=
323
this.Transaction.
phase0Volatiles
.volatileEnlistmentCount + this.Transaction.
phase0Volatiles
.dependentClones);
326
if (this.Transaction.
phase0Volatiles
.preparedVolatileEnlistments ==
327
this.Transaction.phase0VolatileWaveCount + this.Transaction.
phase0Volatiles
.dependentClones)
System\Transactions\TransactionState.cs (76)
1256
tx.
phase0Volatiles
.dependentClones--;
1257
Debug.Assert( tx.
phase0Volatiles
.dependentClones >= 0 );
1260
Debug.Assert( tx.
phase0Volatiles
.preparedVolatileEnlistments <=
1261
tx.
phase0Volatiles
.volatileEnlistmentCount + tx.
phase0Volatiles
.dependentClones );
1264
if ( tx.
phase0Volatiles
.preparedVolatileEnlistments ==
1265
tx.phase0VolatileWaveCount + tx.
phase0Volatiles
.dependentClones )
1286
tx.
phase0Volatiles
.dependentClones++;
1598
int volatileCount = tx.
phase0Volatiles
.volatileEnlistmentCount;
1599
int dependentCount = tx.
phase0Volatiles
.dependentClones;
1605
if ( tx.
phase0Volatiles
.preparedVolatileEnlistments < volatileCount + dependentCount )
1610
tx.
phase0Volatiles
.volatileEnlistments[i].twoPhaseState.ChangeStatePreparing( tx.
phase0Volatiles
.volatileEnlistments[i]);
1794
int volatileCount = tx.
phase0Volatiles
.volatileEnlistmentCount;
1795
int dependentCount = tx.
phase0Volatiles
.dependentClones;
1801
if ( tx.
phase0Volatiles
.preparedVolatileEnlistments < volatileCount + dependentCount )
1806
tx.
phase0Volatiles
.volatileEnlistments[i].twoPhaseState.ChangeStatePreparing(tx.
phase0Volatiles
.volatileEnlistments[i]);
2109
for ( int i = 0; i < tx.
phase0Volatiles
.volatileEnlistmentCount; i++ )
2111
tx.
phase0Volatiles
.volatileEnlistments[i].twoPhaseState.InternalAborted(tx.
phase0Volatiles
.volatileEnlistments[i]);
2261
for ( int i = 0; i < tx.
phase0Volatiles
.volatileEnlistmentCount; i++ )
2263
tx.
phase0Volatiles
.volatileEnlistments[i].twoPhaseState.InternalCommitted(tx.
phase0Volatiles
.volatileEnlistments[i]);
2325
for ( int i = 0; i < tx.
phase0Volatiles
.volatileEnlistmentCount; i++ )
2327
tx.
phase0Volatiles
.volatileEnlistments[i].twoPhaseState.InternalIndoubt(tx.
phase0Volatiles
.volatileEnlistments[i]);
2637
if ( tx.
phase0Volatiles
.dependentClones > 0 )
2640
tx.
phase0Volatiles
.dependentClones--;
2643
Debug.Assert( tx.
phase0Volatiles
.preparedVolatileEnlistments <=
2644
tx.
phase0Volatiles
.volatileEnlistmentCount + tx.
phase0Volatiles
.dependentClones );
2647
if ( tx.
phase0Volatiles
.preparedVolatileEnlistments ==
2648
tx.phase0VolatileWaveCount + tx.
phase0Volatiles
.dependentClones )
3282
int volatileCount = tx.
phase0Volatiles
.volatileEnlistmentCount;
3283
int dependentCount = tx.
phase0Volatiles
.dependentClones;
3291
if ( tx.
phase0Volatiles
.preparedVolatileEnlistments <
3297
tx.
phase0Volatiles
.volatileEnlistments[i].twoPhaseState.ChangeStatePreparing(
3298
tx.
phase0Volatiles
.volatileEnlistments[i]);
3315
Debug.Assert( tx.
phase0Volatiles
.VolatileDemux != null, "Volatile Demux must exist for VolatilePrepareDone when promoted." );
3321
tx.
phase0Volatiles
.VolatileDemux.oletxEnlistment.Prepared();
3551
if ( tx.
phase0Volatiles
.VolatileDemux.preparingEnlistment != null )
3557
tx.
phase0Volatiles
.VolatileDemux.oletxEnlistment.ForceRollback();
3748
if ( tx.
phase0Volatiles
.VolatileDemux != null )
3750
tx.
phase0Volatiles
.VolatileDemux.BroadcastRollback( ref tx.phase0Volatiles );
3894
if ( tx.
phase0Volatiles
.VolatileDemux != null )
3896
tx.
phase0Volatiles
.VolatileDemux.BroadcastCommitted( ref tx.phase0Volatiles );
3966
if ( tx.
phase0Volatiles
.VolatileDemux != null )
3968
tx.
phase0Volatiles
.VolatileDemux.BroadcastInDoubt( ref tx.phase0Volatiles );
4360
if (tx.
phase0Volatiles
.dependentClones > 0)
4363
tx.
phase0Volatiles
.dependentClones--;
4366
Debug.Assert(tx.
phase0Volatiles
.preparedVolatileEnlistments <=
4367
tx.
phase0Volatiles
.volatileEnlistmentCount + tx.
phase0Volatiles
.dependentClones);
4370
if (tx.
phase0Volatiles
.preparedVolatileEnlistments ==
4371
tx.phase0VolatileWaveCount + tx.
phase0Volatiles
.dependentClones)
4391
tx.
phase0Volatiles
.dependentClones++;
4491
int volatileCount = tx.
phase0Volatiles
.volatileEnlistmentCount;
4492
int dependentCount = tx.
phase0Volatiles
.dependentClones;
4498
if (tx.
phase0Volatiles
.preparedVolatileEnlistments < volatileCount + dependentCount)
4503
tx.
phase0Volatiles
.volatileEnlistments[i].twoPhaseState.ChangeStatePreparing(tx.
phase0Volatiles
.volatileEnlistments[i]);
4535
int volatileCount = tx.
phase0Volatiles
.volatileEnlistmentCount;
4536
int dependentCount = tx.
phase0Volatiles
.dependentClones;
4542
if (tx.
phase0Volatiles
.preparedVolatileEnlistments < volatileCount + dependentCount)
4547
tx.
phase0Volatiles
.volatileEnlistments[i].twoPhaseState.ChangeStatePreparing(tx.
phase0Volatiles
.volatileEnlistments[i]);
4892
for (int i = 0; i < tx.
phase0Volatiles
.volatileEnlistmentCount; i++)
4894
tx.
phase0Volatiles
.volatileEnlistments[i].twoPhaseState.InternalAborted(tx.
phase0Volatiles
.volatileEnlistments[i]);
4992
for (int i = 0; i < tx.
phase0Volatiles
.volatileEnlistmentCount; i++)
4994
tx.
phase0Volatiles
.volatileEnlistments[i].twoPhaseState.InternalCommitted(tx.
phase0Volatiles
.volatileEnlistments[i]);
5038
for (int i = 0; i < tx.
phase0Volatiles
.volatileEnlistmentCount; i++)
5040
tx.
phase0Volatiles
.volatileEnlistments[i].twoPhaseState.InternalIndoubt(tx.
phase0Volatiles
.volatileEnlistments[i]);