1 instantiation of StackNode
System.Diagnostics.TraceSource (1)
System\Diagnostics\CorrelationManager.cs (1)
117
_stack.Value = new
StackNode
(obj, _stack.Value);
11 references to StackNode
System.Diagnostics.TraceSource (11)
System\Diagnostics\CorrelationManager.cs (11)
14
private readonly AsyncLocal<
StackNode
?> _stack = new AsyncLocal<
StackNode
?>();
39
internal StackNode(object? value,
StackNode
? prev = null)
48
internal
StackNode
? Prev { get; }
53
private readonly AsyncLocal<
StackNode
?> _stack;
55
internal AsyncLocalStackWrapper(AsyncLocal<
StackNode
?> stack)
73
for (
StackNode
? n = _stack.Value; n != null; n = n.Prev)
89
for (
StackNode
? n = _stack.Value; n != null; n = n.Prev)
95
private static IEnumerator GetEnumerator(
StackNode
? n)
106
StackNode
? n = _stack.Value;
122
StackNode
? n = _stack.Value;