AqlaSolutions / AqlaSerializer

Binary serializer with full .NET support!
http://www.aqla.net
Other
17 stars 3 forks source link

Failed to clone a dictionary with enum value #53

Open inethui opened 2 years ago

inethui commented 2 years ago

The following code failed with error "A deferred key does not have a value yet (NotObject call missed?)

enum Dummy { One, Two, Three }

object map = new Dictionary<string, object>
{
    { "dummy", Dummy.Two },
}

AqlaSerializer.Serializer.DeepClone(map);