1 write to _customProperties
System.Diagnostics.DiagnosticSource (1)
System\Diagnostics\Activity.cs (1)
1139
Interlocked.CompareExchange(ref
_customProperties
, new Dictionary<string, object>(), null);
7 references to _customProperties
System.Diagnostics.DiagnosticSource (7)
System\Diagnostics\Activity.cs (7)
1137
if (
_customProperties
== null)
1142
lock (
_customProperties
)
1146
_customProperties
.Remove(propertyName);
1150
_customProperties
[propertyName] = propertyValue!;
1164
if (
_customProperties
== null)
1170
lock (
_customProperties
)
1172
ret =
_customProperties
.TryGetValue(propertyName, out object? o) ? o! : null;