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