Sergio0694 / BinaryPack

The fastest and most memory efficient binary serialization library for .NET Standard 2.1, powered by dynamic IL generation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

passing in interface

hieudo989 opened this issue · comments

I cannot put in and interface
any work around or it is limitation of the package?

mistake on my understanding error message. IReadOnlyList is the problem.
Since the code has a part check for IReadOnlyList and I pass exactly that and it cause the error...

ObjectProcessor.protected override void EmitSerializer(ILGenerator il)