~ruther/NosSmooth

cf18a163ccfe16621f55bae41f14f91123b2c690 — František Boháček 3 years ago 9a6d914
fix: allow to convert all enums using System.Convert class
1 files changed, 1 insertions(+), 1 deletions(-)

M Core/NosSmooth.Packets/Converters/Special/EnumTypeConverter.cs
M Core/NosSmooth.Packets/Converters/Special/EnumTypeConverter.cs => Core/NosSmooth.Packets/Converters/Special/EnumTypeConverter.cs +1 -1
@@ 39,7 39,7 @@ public class EnumTypeConverter : ISpecialTypeConverter
            return Result.FromSuccess();
        }

        builder.Append(((int)obj).ToString());
        builder.Append(Convert.ToInt64(obj).ToString());
        return Result.FromSuccess();
    }
}
\ No newline at end of file

Do not follow this link