5 writes to DefaultComContextState
System.Transactions (5)
System\Transactions\Transaction.cs (3)
156
contextData.
DefaultComContextState
= DefaultComContextState.Available;
165
contextData.
DefaultComContextState
= DefaultComContextState.Unavailable;
1590
staticData.
DefaultComContextState
= DefaultComContextState.Unknown;
System\Transactions\TransactionScope.cs (2)
1212
this.savedTLSContextData.
DefaultComContextState
= ContextData.TLSCurrentData.DefaultComContextState;
1222
ContextData.TLSCurrentData.
DefaultComContextState
= this.savedTLSContextData.DefaultComContextState;
5 references to DefaultComContextState
System.Transactions (5)
System\Transactions\Transaction.cs (3)
147
if (contextData.
DefaultComContextState
== DefaultComContextState.Unknown ||
148
(contextData.
DefaultComContextState
== DefaultComContextState.Available &&
169
if (contextData.
DefaultComContextState
== DefaultComContextState.Available)
System\Transactions\TransactionScope.cs (2)
1212
this.savedTLSContextData.DefaultComContextState = ContextData.TLSCurrentData.
DefaultComContextState
;
1222
ContextData.TLSCurrentData.DefaultComContextState = this.savedTLSContextData.
DefaultComContextState
;