< Summary

Information
Class: Chronicler.Serialization.MemoryPackRecordEntryTableState
Assembly: Chronicler
File(s): /home/runner/work/Chronicler/Chronicler/src/Chronicler/Serialization/MemoryPack/MemoryPackRecordEntryTableState.cs
Line coverage
100%
Covered lines: 2
Uncovered lines: 0
Coverable lines: 2
Total lines: 32
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
.ctor(...)100%11100%

File(s)

/home/runner/work/Chronicler/Chronicler/src/Chronicler/Serialization/MemoryPack/MemoryPackRecordEntryTableState.cs

#LineLine coverage
 1//=======================================================================
 2// MemoryPackRecordEntryTableState.cs
 3//=======================================================================
 4// MIT License, Copyright (c) 2024-present David Oravsky (mrdav30)
 5// See LICENSE file in the project root for full license information.
 6//=======================================================================
 7
 8#if !CHRONICLER_DISABLE_MEMORYPACK
 9using System.Collections.Generic;
 10using MemoryPack;
 11
 12namespace Chronicler.Serialization;
 13
 14/// <summary>
 15/// Represents the serializable state of a MemoryPack record entry table.
 16/// </summary>
 17[MemoryPackable]
 18internal readonly partial struct MemoryPackRecordEntryTableState
 19{
 20    /// <summary>
 21    /// Gets the ordered entry items.
 22    /// </summary>
 23    [MemoryPackInclude]
 24    public readonly KeyValuePair<string, byte[]?>[]? Items;
 25
 26    [MemoryPackConstructor]
 27    public MemoryPackRecordEntryTableState(KeyValuePair<string, byte[]?>[]? items)
 28    {
 61629        Items = items;
 61630    }
 31}
 32#endif