File: System\Text\Json\Serialization\Metadata\ParameterRef.cs
Web Access
Project: src\src\libraries\System.Text.Json\src\System.Text.Json.csproj (System.Text.Json)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
namespace System.Text.Json.Serialization.Metadata
{
    internal readonly struct ParameterRef
    {
        public ParameterRef(ulong key, JsonParameterInfo info, byte[] nameFromJson)
        {
            Key = key;
            Info = info;
            NameFromJson = nameFromJson;
        }
 
        public readonly ulong Key;
 
        public readonly JsonParameterInfo Info;
 
        // NameFromJson may be different than Info.NameAsUtf8Bytes when case insensitive is enabled.
        public readonly byte[] NameFromJson;
    }
}