A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/msgpack/msgpack-cli/issues/215 below:

can't prepare int enum · Issue #215 · msgpack/msgpack-cli · GitHub

Hi. I'm switching our project from using pregenerated serializers to PrepareType.

This is my enum:

public enum StatusType : int
	{
		OK = 0,
		Exception = 1,
                ...
	}

On 0.9.0beta2, in UnityEnumMessagePackSerializer I keep getting a NullReferenceException basically because Enum.GetValues(typeof(StatusType)) as object[] results in null.

(https://github.com/msgpack/msgpack-cli/blob/0.9.0-beta2/src/MsgPack/Serialization/EnumMessagePackSerializer%601.cs#L302)


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4