~ruther/NosSmooth

610c0c6ee0c71ed30462732a02961f2084107d2c — František Boháček 3 years ago d40bd57
fix: make InnerSeparator, AfterSeparator non nullable
1 files changed, 2 insertions(+), 2 deletions(-)

M Core/NosSmooth.Packets/Attributes/PacketIndexAttribute.cs
M Core/NosSmooth.Packets/Attributes/PacketIndexAttribute.cs => Core/NosSmooth.Packets/Attributes/PacketIndexAttribute.cs +2 -2
@@ 31,10 31,10 @@ public class PacketIndexAttribute : Attribute
    /// <summary>
    /// Gets the inner separator used for complex types such as sub packets.
    /// </summary>
    public char? InnerSeparator { get; set; }
    public char InnerSeparator { get; set; } = (char)0xFF;

    /// <summary>
    /// Gets the separator after this field.
    /// </summary>
    public char? AfterSeparator { get; set; }
    public char AfterSeparator { get; set; } = (char)0xFF;
}
\ No newline at end of file

Do not follow this link