Commit graph

14 commits

Author SHA1 Message Date
Declan Hoare
7d3f981b93
Removed most uses of dynamic 2020-09-03 09:57:31 +10:00
RogueAI42
babf0127c6 Added missing files 2017-12-11 01:03:54 +11:00
RogueAI42
4cbae63adc Improve exception rethrowing 2017-11-11 17:38:17 +11:00
RogueAI42
b77b3a1198 you don't need OrderAttribute! 2017-11-05 22:15:08 +11:00
RogueAI42
f2b90d32bb Array Support
This is a big one, I was getting Mono runtime crashes last time
I tried this...
2017-10-14 20:49:04 +11:00
RogueAI42
141a1f7504 fixed serialising enums 2017-09-14 17:58:54 +10:00
RogueAI42
c4efd1a3c4 Added Enum support (and slightly more useful debugging info)
When built in DEBUG mode (the Nuget build is RELEASE mode) it will
print the type argument for each call to SerialiseObjectWorker()
or DeserialiseObjectWorker() so you can track its progress.
No matter how it's built, if an exception is encountered, it will
store the type, and, in the case of SerialiseObject(), the object
itself, inside the exception's Data dictionary and rethrow. The
relevant keys are "Whoa: Type" and "Whoa: Object".

This info helped me track down a confusing NullReferenceException
that turned out to be an Enum, which didn't deserialise properly.
Now they do! :)
2017-09-13 18:01:18 +10:00
RogueAI42
68e8db9f31 Added DateTime support 2017-09-11 17:33:07 +10:00
RogueAI42
b4454aff57 bigint support 2017-09-10 01:50:23 +10:00
RogueAI42
bdbc67cad4 Don't waste a byte if the exact number of bools is a multiple of 8
This is an incompatible change from the previous versions. Luckily
nobody is using this in production yet.
2017-08-31 19:41:43 +10:00
RogueAI42
a357337eec handle null values correctly 2017-08-30 17:45:47 +10:00
RogueAI42
d648029bd0 target .NET 4.5 2017-08-29 22:16:42 +10:00
RogueAI42
c549608895 first version 2017-08-29 20:07:02 +10:00
Declan Hoare
7d637c031c Initial commit 2017-08-29 20:01:13 +10:00