1 write to _customProperties
System.Diagnostics.DiagnosticSource (1)
System\Diagnostics\Activity.cs (1)
1136
Interlocked.CompareExchange(ref
_customProperties
, new Dictionary<string, object>(), null);
7 references to _customProperties
System.Diagnostics.DiagnosticSource (7)
System\Diagnostics\Activity.cs (7)
1134
if (
_customProperties
== null)
1139
lock (
_customProperties
)
1143
_customProperties
.Remove(propertyName);
1147
_customProperties
[propertyName] = propertyValue!;
1161
if (
_customProperties
== null)
1167
lock (
_customProperties
)
1169
ret =
_customProperties
.TryGetValue(propertyName, out object? o) ? o! : null;