1 write to NameAsUtf8Bytes
System.Text.Json (1)
System\Text\Json\Serialization\Metadata\JsonPropertyInfo.cs (1)
390
NameAsUtf8Bytes
= Encoding.UTF8.GetBytes(Name);
9 references to NameAsUtf8Bytes
System.Text.Json (9)
System\Text\Json\Serialization\Metadata\JsonParameterInfo.cs (1)
48
NameAsUtf8Bytes = matchingProperty.
NameAsUtf8Bytes
;
System\Text\Json\Serialization\Metadata\JsonPropertyInfo.cs (2)
391
EscapedNameSection = JsonHelpers.GetEscapedPropertyNameSection(
NameAsUtf8Bytes
, Options.Encoder);
654
sb.AppendLine($"{ind} NameAsUtf8.Length: {(
NameAsUtf8Bytes
?.Length ?? -1)},");
System\Text\Json\Serialization\Metadata\JsonTypeInfo.Cache.cs (5)
173
if (propertyName.SequenceEqual(info.
NameAsUtf8Bytes
))
176
ulong recomputedKey = GetKey(info.
NameAsUtf8Bytes
.AsSpan());
185
utf8PropertyName = info.
NameAsUtf8Bytes
!;
196
ulong recomputedKey = GetKey(info.
NameAsUtf8Bytes
.AsSpan());
203
utf8PropertyName = info.
NameAsUtf8Bytes
;
System\Text\Json\Serialization\ReadStack.cs (1)
357
utf8PropertyName = frame.JsonPropertyInfo?.
NameAsUtf8Bytes
??