10 writes to phase1Volatiles
System.Transactions (10)
System\Transactions\TransactionState.cs (10)
1372
AddVolatileEnlistment( ref tx.
phase1Volatiles
, enlistment );
1402
AddVolatileEnlistment( ref tx.
phase1Volatiles
, enlistment );
1677
AddVolatileEnlistment( ref tx.
phase1Volatiles
, enlistment );
1708
AddVolatileEnlistment( ref tx.
phase1Volatiles
, enlistment );
3105
enlistmentsPromoted = PromotePhaseVolatiles( tx, ref tx.
phase1Volatiles
, false );
3745
tx.phase1Volatiles.VolatileDemux.BroadcastRollback( ref tx.
phase1Volatiles
);
3891
tx.phase1Volatiles.VolatileDemux.BroadcastCommitted( ref tx.
phase1Volatiles
);
3963
tx.phase1Volatiles.VolatileDemux.BroadcastInDoubt( ref tx.
phase1Volatiles
);
4236
AddVolatileEnlistment(ref tx.
phase1Volatiles
, enlistment);
4266
AddVolatileEnlistment(ref tx.
phase1Volatiles
, enlistment);
66 references to phase1Volatiles
System.Transactions (66)
System\Transactions\Enlistment.cs (7)
514
this.transaction.
phase1Volatiles
.preparedVolatileEnlistments++;
522
Debug.Assert(this.transaction.
phase1Volatiles
.preparedVolatileEnlistments <=
523
this.transaction.
phase1Volatiles
.volatileEnlistmentCount +
524
this.transaction.
phase1Volatiles
.dependentClones);
527
if (this.transaction.
phase1Volatiles
.preparedVolatileEnlistments ==
528
this.transaction.
phase1Volatiles
.volatileEnlistmentCount +
529
this.transaction.
phase1Volatiles
.dependentClones)
System\Transactions\TransactionState.cs (59)
1278
tx.
phase1Volatiles
.dependentClones--;
1279
Debug.Assert( tx.
phase1Volatiles
.dependentClones >= 0 );
1293
tx.
phase1Volatiles
.dependentClones++;
1888
if ( tx.
phase1Volatiles
.dependentClones != 0 )
1894
if ( tx.
phase1Volatiles
.volatileEnlistmentCount == 1 && tx.durableEnlistment == null
1895
&& tx.
phase1Volatiles
.volatileEnlistments[0].SinglePhaseNotification != null )
1900
else if ( tx.
phase1Volatiles
.volatileEnlistmentCount > 0 )
1903
for ( int i = 0; i < tx.
phase1Volatiles
.volatileEnlistmentCount; i++ )
1905
tx.
phase1Volatiles
.volatileEnlistments[i].twoPhaseState.ChangeStatePreparing(tx.
phase1Volatiles
.volatileEnlistments[i]);
1974
Debug.Assert( tx.
phase1Volatiles
.volatileEnlistmentCount == 1,
1977
tx.
phase1Volatiles
.volatileEnlistments[0].twoPhaseState.ChangeStateSinglePhaseCommit(
1978
tx.
phase1Volatiles
.volatileEnlistments[0]);
2114
for ( int i = 0; i < tx.
phase1Volatiles
.volatileEnlistmentCount; i++ )
2116
tx.
phase1Volatiles
.volatileEnlistments[i].twoPhaseState.InternalAborted(tx.
phase1Volatiles
.volatileEnlistments[i]);
2267
for ( int i = 0; i < tx.
phase1Volatiles
.volatileEnlistmentCount; i++ )
2269
tx.
phase1Volatiles
.volatileEnlistments[i].twoPhaseState.InternalCommitted(tx.
phase1Volatiles
.volatileEnlistments[i]);
2331
for ( int i = 0; i < tx.
phase1Volatiles
.volatileEnlistmentCount; i++ )
2333
tx.
phase1Volatiles
.volatileEnlistments[i].twoPhaseState.InternalIndoubt(tx.
phase1Volatiles
.volatileEnlistments[i]);
2692
if ( null != tx.
phase1Volatiles
.VolatileDemux )
2694
tx.
phase1Volatiles
.dependentClones--;
2695
Debug.Assert( tx.
phase1Volatiles
.dependentClones >= 0 );
2752
if ( null != tx.
phase1Volatiles
.VolatileDemux )
2754
tx.
phase1Volatiles
.dependentClones++;
3371
if ( tx.
phase1Volatiles
.dependentClones != 0 )
3379
int volatileCount = tx.
phase1Volatiles
.volatileEnlistmentCount;
3384
if ( tx.
phase1Volatiles
.preparedVolatileEnlistments < volatileCount )
3389
tx.
phase1Volatiles
.volatileEnlistments[i].twoPhaseState.ChangeStatePreparing(
3390
tx.
phase1Volatiles
.volatileEnlistments[i]);
3431
Debug.Assert( tx.
phase1Volatiles
.VolatileDemux != null, "Volatile Demux must exist for VolatilePrepareDone when promoted." );
3437
tx.
phase1Volatiles
.VolatileDemux.oletxEnlistment.Prepared();
3592
Debug.Assert( tx.
phase1Volatiles
.VolatileDemux != null, "Volatile Demux must exist." );
3600
tx.
phase1Volatiles
.VolatileDemux.oletxEnlistment.ForceRollback();
3743
if ( tx.
phase1Volatiles
.VolatileDemux != null )
3745
tx.
phase1Volatiles
.VolatileDemux.BroadcastRollback( ref tx.phase1Volatiles );
3889
if ( tx.
phase1Volatiles
.VolatileDemux != null )
3891
tx.
phase1Volatiles
.VolatileDemux.BroadcastCommitted( ref tx.phase1Volatiles );
3961
if ( tx.
phase1Volatiles
.VolatileDemux != null )
3963
tx.
phase1Volatiles
.VolatileDemux.BroadcastInDoubt( ref tx.phase1Volatiles );
4384
tx.
phase1Volatiles
.dependentClones--;
4385
Debug.Assert(tx.
phase1Volatiles
.dependentClones >= 0);
4397
tx.
phase1Volatiles
.dependentClones++;
4586
if (tx.
phase1Volatiles
.dependentClones != 0)
4592
if (tx.
phase1Volatiles
.volatileEnlistmentCount > 0)
4595
for (int i = 0; i < tx.
phase1Volatiles
.volatileEnlistmentCount; i++)
4597
tx.
phase1Volatiles
.volatileEnlistments[i].twoPhaseState.ChangeStatePreparing(tx.
phase1Volatiles
.volatileEnlistments[i]);
4897
for (int i = 0; i < tx.
phase1Volatiles
.volatileEnlistmentCount; i++)
4899
tx.
phase1Volatiles
.volatileEnlistments[i].twoPhaseState.InternalAborted(tx.
phase1Volatiles
.volatileEnlistments[i]);
4998
for (int i = 0; i < tx.
phase1Volatiles
.volatileEnlistmentCount; i++)
5000
tx.
phase1Volatiles
.volatileEnlistments[i].twoPhaseState.InternalCommitted(tx.
phase1Volatiles
.volatileEnlistments[i]);
5044
for (int i = 0; i < tx.
phase1Volatiles
.volatileEnlistmentCount; i++)
5046
tx.
phase1Volatiles
.volatileEnlistments[i].twoPhaseState.InternalIndoubt(tx.
phase1Volatiles
.volatileEnlistments[i]);