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); 184_overflowTags = new KeyValuePair<string, object?>[InlineTags.Length + OverflowAdditionalCapacity]; 192Array.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; 182if (_tagsCount == InlineTags.Length && _overflowTags is null) 185((ReadOnlySpan<KeyValuePair<string, object?>>)_tags).CopyTo(_overflowTags); 188if (_overflowTags is not null) 190if (_tagsCount == _overflowTags.Length) 195_overflowTags.AsSpan(index, _tagsCount - index).CopyTo(_overflowTags.AsSpan(index + 1)); 196_overflowTags[index] = item; 217Span<KeyValuePair<string, object?>> tags = _overflowTags is not null ? _overflowTags : _tags; 273_overflowTags is not null ? _overflowTags : 304_overflowTags is not null ? _overflowTags.AsSpan(0, _tagsCount) :