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