1 instantiation of ContextKey
System.Transactions.Local (1)
System\Transactions\TransactionScope.cs (1)
900
ContextKey = new
ContextKey
();
9 references to ContextKey
System.Transactions.Local (9)
System\Transactions\Transaction.cs (8)
1061
private static readonly AsyncLocal<
ContextKey
?> s_currentTransaction = new AsyncLocal<
ContextKey
?>();
1065
private static readonly ConditionalWeakTable<
ContextKey
, ContextData> s_contextDataTable = new ConditionalWeakTable<
ContextKey
, ContextData>();
1071
public static ContextData CreateOrGetCurrentData(
ContextKey
contextKey)
1077
public static void ClearCurrentData(
ContextKey
? contextKey, bool removeContextData)
1080
ContextKey
? key = s_currentTransaction.Value;
1100
ContextKey
? contextKey = s_currentTransaction.Value;
System\Transactions\TransactionScope.cs (1)
1219
internal
ContextKey
? ContextKey