Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ InternalDispose()

virtual void System.Transactions.Transaction.InternalDispose ( )
inlinepackagevirtualinherited

Reimplemented in System.Transactions.CommittableTransaction.

Definition at line 579 of file Transaction.cs.

580 {
581 TransactionsEtwProvider log = TransactionsEtwProvider.Log;
582 if (log.IsEnabled())
583 {
584 log.MethodEnter(TraceSourceType.TraceSourceLtm, this, "InternalDispose");
585 }
586 if (Interlocked.Exchange(ref _disposed, 1) != 1)
587 {
589 if (num == 0L)
590 {
592 }
593 if (log.IsEnabled())
594 {
595 log.MethodExit(TraceSourceType.TraceSourceLtm, this, "InternalDispose");
596 }
597 }
598 }
static int Exchange(ref int location1, int value)
static int Decrement(ref int location)
InternalTransaction _internalTransaction

References System.Transactions.InternalTransaction._cloneCount, System.Transactions.Transaction._disposed, System.Transactions.Transaction._internalTransaction, System.Threading.Interlocked.Decrement(), System.Runtime.Serialization.Dictionary, System.Transactions.InternalTransaction.Dispose(), System.Threading.Interlocked.Exchange(), System.L, and System.Transactions.TransactionsEtwProvider.Log.

Referenced by System.Transactions.Transaction.Dispose().