5 writes to _overflowTags
System.Diagnostics.DiagnosticSource (5)
System\Diagnostics\Metrics\TagList.netcore.cs (5)
44_overflowTags = new KeyValuePair<string, object?>[_tagsCount + OverflowAdditionalCapacity]; 123_overflowTags = new KeyValuePair<string, object?>[InlineTags.Length + OverflowAdditionalCapacity]; 128Array.Resize(ref _overflowTags, _tagsCount + OverflowAdditionalCapacity); 188_overflowTags = new KeyValuePair<string, object?>[InlineTags.Length + OverflowAdditionalCapacity]; 196Array.Resize(ref _overflowTags, _tagsCount + OverflowAdditionalCapacity);
23 references to _overflowTags
System.Diagnostics.DiagnosticSource (23)
System\Diagnostics\Metrics\TagList.netcore.cs (23)
69return _overflowTags is null ? _tags[index] : _overflowTags[index]; 76if (_overflowTags is null) 82_overflowTags[index] = value; 102if (_overflowTags is null && (uint)count < InlineTags.Length) 119Debug.Assert(_overflowTags is not null || _tagsCount == InlineTags.Length); 121if (_overflowTags is null) 124((ReadOnlySpan<KeyValuePair<string, object?>>)_tags).CopyTo(_overflowTags); 126else if (_tagsCount == _overflowTags.Length) 131_overflowTags[_tagsCount] = tag; 186if (_tagsCount == InlineTags.Length && _overflowTags is null) 189((ReadOnlySpan<KeyValuePair<string, object?>>)_tags).CopyTo(_overflowTags); 192if (_overflowTags is not null) 194if (_tagsCount == _overflowTags.Length) 199_overflowTags.AsSpan(index, _tagsCount - index).CopyTo(_overflowTags.AsSpan(index + 1)); 200_overflowTags[index] = item; 221Span<KeyValuePair<string, object?>> tags = _overflowTags is not null ? _overflowTags : _tags; 277_overflowTags is not null ? _overflowTags : 308_overflowTags is not null ? _overflowTags.AsSpan(0, _tagsCount) :