1 write to _customProperties
System.Diagnostics.DiagnosticSource (1)
System\Diagnostics\Activity.cs (1)
1150
Interlocked.CompareExchange(ref
_customProperties
, new Dictionary<string, object>(), null);
7 references to _customProperties
System.Diagnostics.DiagnosticSource (7)
System\Diagnostics\Activity.cs (7)
1148
if (
_customProperties
== null)
1153
lock (
_customProperties
)
1157
_customProperties
.Remove(propertyName);
1161
_customProperties
[propertyName] = propertyValue!;
1175
if (
_customProperties
== null)
1181
lock (
_customProperties
)
1183
ret =
_customProperties
.TryGetValue(propertyName, out object? o) ? o! : null;