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