File: System\Formats\Nrbf\NullsRecord.cs
Web Access
Project: src\src\libraries\System.Formats.Nrbf\src\System.Formats.Nrbf.csproj (System.Formats.Nrbf)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
using System.Diagnostics;
using System.Reflection.Metadata;
 
namespace System.Formats.Nrbf;
 
internal abstract class NullsRecord : SerializationRecord
{
    internal abstract int NullCount { get; }
 
    public override SerializationRecordId Id => SerializationRecordId.NoId;
 
    public override TypeName TypeName => TypeName.Parse(GetType().Name.AsSpan());
}