1 write to _tags
Microsoft.Extensions.Telemetry.Abstractions (1)
Logging\LoggerMessageState.cs (1)
51
Array.Resize(ref
_tags
, need);
9 references to _tags
Microsoft.Extensions.Telemetry.Abstractions (9)
Logging\LoggerMessageState.cs (6)
27
public KeyValuePair<string, object?>[] TagArray =>
_tags
;
47
int avail =
_tags
.Length - TagsCount;
50
var need =
_tags
.Length + (count - avail);
107
Array.Clear(
_tags
, 0, TagsCount);
140
_ = sb.Append(
_tags
[i].Key);
142
_ = sb.Append(
_tags
[i].Value);
Logging\LoggerMessageState.ReadOnlyList.cs (3)
13
public KeyValuePair<string, object?> this[int index] =>
_tags
[Throw.IfOutOfRange(index, 0, TagsCount)];
23
yield return
_tags
[i];
32
yield return
_tags
[i];