8 writes to _expectedCurrent
System.Transactions.Local (8)
System\Transactions\TransactionScope.cs (8)
69_expectedCurrent = _committableTransaction.Clone(); 131_expectedCurrent = _committableTransaction.Clone(); 206_expectedCurrent = _committableTransaction.Clone(); 288_expectedCurrent = _committableTransaction.Clone(); 440_expectedCurrent = null; 445_expectedCurrent = _savedCurrent; 485_expectedCurrent = transactionToUse; 905_expectedCurrent = null;
39 references to _expectedCurrent
System.Transactions.Local (39)
System\Transactions\TransactionScope.cs (39)
72if (null == _expectedCurrent) 94etwLog.TransactionScopeCreated(_expectedCurrent.TransactionTraceId, scopeResult); 134if ((null != _expectedCurrent) && (null == _committableTransaction) && (TimeSpan.Zero != scopeTimeout)) 144if (null == _expectedCurrent) 166etwLog.TransactionScopeCreated(_expectedCurrent.TransactionTraceId, scopeResult); 210if (null != _expectedCurrent) 213if ((IsolationLevel.Unspecified != transactionOptions.IsolationLevel) && (_expectedCurrent.IsolationLevel != transactionOptions.IsolationLevel)) 220if ((null != _expectedCurrent) && (null == _committableTransaction) && (TimeSpan.Zero != scopeTimeout)) 230if (null == _expectedCurrent) 252etwLog.TransactionScopeCreated(_expectedCurrent.TransactionTraceId, scopeResult); 292if (null != _expectedCurrent) 295if ((IsolationLevel.Unspecified != transactionOptions.IsolationLevel) && (_expectedCurrent.IsolationLevel != transactionOptions.IsolationLevel)) 302if ((null != _expectedCurrent) && (null == _committableTransaction) && (TimeSpan.Zero != scopeTimeout)) 312if (null == _expectedCurrent) 334etwLog.TransactionScopeCreated(_expectedCurrent.TransactionTraceId, scopeResult); 447if (null == _expectedCurrent) 491etwLog.TransactionScopeCreated(_expectedCurrent.TransactionTraceId, TransactionScopeResult.TransactionPassed); 569if (((null != actualCurrentScope._expectedCurrent) && (!actualCurrentScope._expectedCurrent.Equals(current))) 571((null != current) && (null == actualCurrentScope._expectedCurrent)) 586if (null == _expectedCurrent) 592myId = _expectedCurrent.TransactionTraceId; 631if (null == actualCurrentScope!._expectedCurrent) 642etwLog.TransactionScopeNestedIncorrectly(actualCurrentScope._expectedCurrent.TransactionTraceId); 669if (((null != _expectedCurrent) && (!_expectedCurrent.Equals(current))) 670|| ((null != current) && (null == _expectedCurrent)) 685if (null == _expectedCurrent) 691myId = _expectedCurrent.TransactionTraceId; 761if (null == _expectedCurrent) 772etwLog.TransactionScopeDisposed(_expectedCurrent.TransactionTraceId); 778if (null != _expectedCurrent) 784etwLog.TransactionScopeIncomplete(_expectedCurrent.TransactionTraceId); 818Debug.Assert(_expectedCurrent != null); 821_expectedCurrent.Dispose(); 868if ((!_complete) && (null != _expectedCurrent)) 873etwLog.TransactionScopeTimeout(_expectedCurrent.TransactionTraceId); 877_expectedCurrent.Rollback(); 956SetCurrent(_expectedCurrent);