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