10 writes to _phase0Volatiles
System.Transactions.Local (10)
System\Transactions\TransactionState.cs (10)
715AddVolatileEnlistment(ref tx._phase0Volatiles, enlistment); 741AddVolatileEnlistment(ref tx._phase0Volatiles, enlistment); 994AddVolatileEnlistment(ref tx._phase0Volatiles, enlistment); 1021AddVolatileEnlistment(ref tx._phase0Volatiles, enlistment); 2304enlistmentsPromoted = PromotePhaseVolatiles(tx, ref tx._phase0Volatiles, true); 2936VolatileDemultiplexer.BroadcastRollback(ref tx._phase0Volatiles); 3080VolatileDemultiplexer.BroadcastCommitted(ref tx._phase0Volatiles); 3150VolatileDemultiplexer.BroadcastInDoubt(ref tx._phase0Volatiles); 3409AddVolatileEnlistment(ref tx._phase0Volatiles, enlistment); 3436AddVolatileEnlistment(ref tx._phase0Volatiles, enlistment);
81 references to _phase0Volatiles
System.Transactions.Local (81)
System\Transactions\Enlistment.cs (6)
227Transaction._phase0Volatiles._preparedVolatileEnlistments++; 234Debug.Assert(Transaction._phase0Volatiles._preparedVolatileEnlistments <= 235Transaction._phase0Volatiles._volatileEnlistmentCount + Transaction._phase0Volatiles._dependentClones); 238if (Transaction._phase0Volatiles._preparedVolatileEnlistments == 239Transaction._phase0VolatileWaveCount + Transaction._phase0Volatiles._dependentClones)
System\Transactions\TransactionState.cs (75)
614tx._phase0Volatiles._dependentClones--; 615Debug.Assert(tx._phase0Volatiles._dependentClones >= 0); 618Debug.Assert(tx._phase0Volatiles._preparedVolatileEnlistments <= 619tx._phase0Volatiles._volatileEnlistmentCount + tx._phase0Volatiles._dependentClones); 622if (tx._phase0Volatiles._preparedVolatileEnlistments == 623tx._phase0VolatileWaveCount + tx._phase0Volatiles._dependentClones) 642tx._phase0Volatiles._dependentClones++; 922int volatileCount = tx._phase0Volatiles._volatileEnlistmentCount; 923int dependentCount = tx._phase0Volatiles._dependentClones; 929if (tx._phase0Volatiles._preparedVolatileEnlistments < volatileCount + dependentCount) 934tx._phase0Volatiles._volatileEnlistments[i]._twoPhaseState!.ChangeStatePreparing(tx._phase0Volatiles._volatileEnlistments[i]); 1102int volatileCount = tx._phase0Volatiles._volatileEnlistmentCount; 1103int dependentCount = tx._phase0Volatiles._dependentClones; 1109if (tx._phase0Volatiles._preparedVolatileEnlistments < volatileCount + dependentCount) 1114tx._phase0Volatiles._volatileEnlistments[i]._twoPhaseState!.ChangeStatePreparing(tx._phase0Volatiles._volatileEnlistments[i]); 1385for (int i = 0; i < tx._phase0Volatiles._volatileEnlistmentCount; i++) 1387tx._phase0Volatiles._volatileEnlistments[i]._twoPhaseState!.InternalAborted(tx._phase0Volatiles._volatileEnlistments[i]); 1518for (int i = 0; i < tx._phase0Volatiles._volatileEnlistmentCount; i++) 1520tx._phase0Volatiles._volatileEnlistments[i]._twoPhaseState!.InternalCommitted(tx._phase0Volatiles._volatileEnlistments[i]); 1581for (int i = 0; i < tx._phase0Volatiles._volatileEnlistmentCount; i++) 1583tx._phase0Volatiles._volatileEnlistments[i]._twoPhaseState!.InternalIndoubt(tx._phase0Volatiles._volatileEnlistments[i]); 1873if (tx._phase0Volatiles._dependentClones > 0) 1876tx._phase0Volatiles._dependentClones--; 1879Debug.Assert(tx._phase0Volatiles._preparedVolatileEnlistments <= 1880tx._phase0Volatiles._volatileEnlistmentCount + tx._phase0Volatiles._dependentClones); 1883if (tx._phase0Volatiles._preparedVolatileEnlistments == 1884tx._phase0VolatileWaveCount + tx._phase0Volatiles._dependentClones) 2503int volatileCount = tx._phase0Volatiles._volatileEnlistmentCount; 2504int dependentCount = tx._phase0Volatiles._dependentClones; 2512if (tx._phase0Volatiles._preparedVolatileEnlistments < 2518tx._phase0Volatiles._volatileEnlistments[i]._twoPhaseState!.ChangeStatePreparing( 2519tx._phase0Volatiles._volatileEnlistments[i]); 2536Debug.Assert(tx._phase0Volatiles.VolatileDemux != null, "Volatile Demux must exist for VolatilePrepareDone when promoted."); 2541Debug.Assert(tx._phase0Volatiles.VolatileDemux._promotedEnlistment != null); 2543tx._phase0Volatiles.VolatileDemux._promotedEnlistment.Prepared(); 2758if (tx._phase0Volatiles.VolatileDemux._preparingEnlistment != null) 2763Debug.Assert(tx._phase0Volatiles.VolatileDemux._promotedEnlistment != null); 2765tx._phase0Volatiles.VolatileDemux._promotedEnlistment.ForceRollback(); 2934if (tx._phase0Volatiles.VolatileDemux != null) 3078if (tx._phase0Volatiles.VolatileDemux != null) 3148if (tx._phase0Volatiles.VolatileDemux != null) 3526if (tx._phase0Volatiles._dependentClones > 0) 3529tx._phase0Volatiles._dependentClones--; 3532Debug.Assert(tx._phase0Volatiles._preparedVolatileEnlistments <= 3533tx._phase0Volatiles._volatileEnlistmentCount + tx._phase0Volatiles._dependentClones); 3536if (tx._phase0Volatiles._preparedVolatileEnlistments == 3537tx._phase0VolatileWaveCount + tx._phase0Volatiles._dependentClones) 3557tx._phase0Volatiles._dependentClones++; 3652int volatileCount = tx._phase0Volatiles._volatileEnlistmentCount; 3653int dependentCount = tx._phase0Volatiles._dependentClones; 3659if (tx._phase0Volatiles._preparedVolatileEnlistments < volatileCount + dependentCount) 3664tx._phase0Volatiles._volatileEnlistments[i]._twoPhaseState!.ChangeStatePreparing(tx._phase0Volatiles._volatileEnlistments[i]); 3696int volatileCount = tx._phase0Volatiles._volatileEnlistmentCount; 3697int dependentCount = tx._phase0Volatiles._dependentClones; 3703if (tx._phase0Volatiles._preparedVolatileEnlistments < volatileCount + dependentCount) 3708tx._phase0Volatiles._volatileEnlistments[i]._twoPhaseState!.ChangeStatePreparing(tx._phase0Volatiles._volatileEnlistments[i]); 4030for (int i = 0; i < tx._phase0Volatiles._volatileEnlistmentCount; i++) 4032tx._phase0Volatiles._volatileEnlistments[i]._twoPhaseState!.InternalAborted(tx._phase0Volatiles._volatileEnlistments[i]); 4125for (int i = 0; i < tx._phase0Volatiles._volatileEnlistmentCount; i++) 4127tx._phase0Volatiles._volatileEnlistments[i]._twoPhaseState!.InternalCommitted(tx._phase0Volatiles._volatileEnlistments[i]); 4169for (int i = 0; i < tx._phase0Volatiles._volatileEnlistmentCount; i++) 4171tx._phase0Volatiles._volatileEnlistments[i]._twoPhaseState!.InternalIndoubt(tx._phase0Volatiles._volatileEnlistments[i]);