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