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];
128
Array.Resize(ref
_overflowTags
, _tagsCount + OverflowAdditionalCapacity);
184
_overflowTags
= new KeyValuePair<string, object?>[InlineTags.Length + OverflowAdditionalCapacity];
192
Array.Resize(ref
_overflowTags
, _tagsCount + OverflowAdditionalCapacity);
23 references to _overflowTags
System.Diagnostics.DiagnosticSource (23)
System\Diagnostics\Metrics\TagList.netcore.cs (23)
69
return
_overflowTags
is null ? _tags[index] :
_overflowTags
[index];
76
if (
_overflowTags
is null)
82
_overflowTags
[index] = value;
102
if (
_overflowTags
is null && (uint)count < InlineTags.Length)
119
Debug.Assert(
_overflowTags
is not null || _tagsCount == InlineTags.Length);
121
if (
_overflowTags
is null)
124
((ReadOnlySpan<KeyValuePair<string, object?>>)_tags).CopyTo(
_overflowTags
);
126
else if (_tagsCount ==
_overflowTags
.Length)
131
_overflowTags
[_tagsCount] = tag;
182
if (_tagsCount == InlineTags.Length &&
_overflowTags
is null)
185
((ReadOnlySpan<KeyValuePair<string, object?>>)_tags).CopyTo(
_overflowTags
);
188
if (
_overflowTags
is not null)
190
if (_tagsCount ==
_overflowTags
.Length)
195
_overflowTags
.AsSpan(index, _tagsCount - index).CopyTo(
_overflowTags
.AsSpan(index + 1));
196
_overflowTags
[index] = item;
217
Span<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) :