1 write to NameAsUtf8Bytes
System.Text.Json (1)
System\Text\Json\Serialization\Metadata\JsonPropertyInfo.cs (1)
490
NameAsUtf8Bytes
= Encoding.UTF8.GetBytes(Name);
5 references to NameAsUtf8Bytes
System.Text.Json (5)
System\Text\Json\Serialization\Metadata\JsonParameterInfo.cs (1)
122
internal byte[] JsonNameAsUtf8Bytes => MatchingProperty.
NameAsUtf8Bytes
;
System\Text\Json\Serialization\Metadata\JsonPropertyInfo.cs (1)
491
EscapedNameSection = JsonHelpers.GetEscapedPropertyNameSection(
NameAsUtf8Bytes
, Options.Encoder);
System\Text\Json\Serialization\Metadata\JsonTypeInfo.Cache.cs (2)
147
(!Options.PropertyNameCaseInsensitive || propertyName.SequenceEqual(info.
NameAsUtf8Bytes
)))
150
utf8PropertyName = info.
NameAsUtf8Bytes
;
System\Text\Json\Serialization\ReadStack.cs (1)
357
utf8PropertyName = frame.JsonPropertyInfo?.
NameAsUtf8Bytes
??