4 writes to _parentId
System.Diagnostics.DiagnosticSource (4)
System\Diagnostics\Activity.cs (4)
283Interlocked.CompareExchange(ref _parentId, parentId, null); 287Interlocked.CompareExchange(ref _parentId, Parent.Id, null); 700_parentId = parentId; 1225activity._parentId = parentId;
17 references to _parentId
System.Diagnostics.DiagnosticSource (17)
System\Diagnostics\Activity.cs (17)
271if (_parentId == null) 291return _parentId; 802if (_parentId == null && _parentSpanId is null) 823_parentId == null ? DefaultIdFormat : 824IsW3CId(_parentId) ? ActivityIdFormat.W3C : 983if (_parentId != null && IsW3CId(_parentId)) 987parentSpanId = ActivitySpanId.CreateFromString(_parentId.AsSpan(36, 16)).ToHexString(); 1429else if (_parentId != null && IsW3CId(_parentId)) 1433_traceId = ActivityTraceId.CreateFromString(_parentId.AsSpan(3, 32)).ToHexString(); 1453else if (_parentId != null && IsW3CId(_parentId)) 1455if (HexConverter.IsHexLowerChar(_parentId[53]) && HexConverter.IsHexLowerChar(_parentId[54])) 1457_w3CIdFlags = (byte)(ActivityTraceId.HexByteFromChars(_parentId[53], _parentId[54]) | ActivityTraceFlagsIsSet);