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

◆ InternalDispose()

override void System.Transactions.CommittableTransaction.InternalDispose ( )
inlinepackagevirtual

Reimplemented from System.Transactions.Transaction.

Definition at line 128 of file CommittableTransaction.cs.

129 {
130 TransactionsEtwProvider log = TransactionsEtwProvider.Log;
131 if (log.IsEnabled())
132 {
133 log.MethodEnter(TraceSourceType.TraceSourceLtm, this, "InternalDispose");
134 }
135 if (Interlocked.Exchange(ref _disposed, 1) == 1)
136 {
137 return;
138 }
140 {
142 {
144 }
145 }
147 if (num == 0L)
148 {
150 }
151 if (log.IsEnabled())
152 {
153 log.MethodExit(TraceSourceType.TraceSourceLtm, this, "InternalDispose");
154 }
155 }
static int Exchange(ref int location1, int value)
static int Decrement(ref int location)
TransactionStatus get_Status(InternalTransaction tx)
virtual void DisposeRoot(InternalTransaction tx)
InternalTransaction _internalTransaction

References System.Transactions.InternalTransaction._cloneCount, System.Transactions.Transaction._disposed, System.Transactions.Transaction._internalTransaction, System.Threading.Interlocked.Decrement(), System.Transactions.InternalTransaction.Dispose(), System.Transactions.TransactionState.DisposeRoot(), System.Threading.Interlocked.Exchange(), System.Transactions.TransactionState.get_Status(), System.Diagnostics.Tracing.EventSource.IsEnabled(), System.L, System.Transactions.TransactionsEtwProvider.Log, System.Transactions.TransactionsEtwProvider.MethodEnter(), System.Transactions.TransactionsEtwProvider.MethodExit(), and System.Transactions.InternalTransaction.State.