~ruther/NosSmooth

4e64d6b7bff7bb5d8d132e1ddbc3dc7f8002a79b — František Boháček 3 years ago 43544be
fix: iterate for to last parameter
1 files changed, 1 insertions(+), 1 deletions(-)

M Core/NosSmooth.PacketSerializersGenerator/Data/Parameters.cs
M Core/NosSmooth.PacketSerializersGenerator/Data/Parameters.cs => Core/NosSmooth.PacketSerializersGenerator/Data/Parameters.cs +1 -1
@@ 59,7 59,7 @@ public class Parameters

    private bool IsRestOptionals()
    {
        for (int i = CurrentIndex + 1; i < List.Count - 1; i++)
        for (int i = CurrentIndex + 1; i < List.Count; i++)
        {
            if (!List[i].IsOptional())
            {

Do not follow this link