JasonXuDeveloper / Nino

Definite useful and high performance serialization library for any C# projects, including but not limited to .NET Core apps or Unity/Godot games.
https://nino.xgamedev.net
MIT License
468 stars 44 forks source link

v1.2.0 ilruntime报错 无法使用 #101

Closed fenglindubu closed 1 year ago

fenglindubu commented 1 year ago
Assets\Pkg\Nino\Serialization\ILRuntimeResolver.cs(306,34): error CS0115: 'SerializationHelper1ILTypeInstanceAdapter.Adapter.Serialize(ILTypeInstance, Writer)': no suitable method found to override

Assets\Pkg\Nino\Serialization\ILRuntimeResolver.cs(279,22): error CS0534: 'SerializationHelper1ILTypeInstanceAdapter.Adapter' does not implement inherited abstract member 'NinoWrapperBase<ILTypeInstance>.GetSize(ILTypeInstance)'

Assets\Pkg\Nino\Serialization\ILRuntimeResolver.cs(279,22): error CS0534: 'SerializationHelper1ILTypeInstanceAdapter.Adapter' does not implement inherited abstract member 'NinoWrapperBase<ILTypeInstance>.Serialize(ILTypeInstance, ref Writer)'

Nino\Serialization\ILRuntimeResolver.cs 看一下 这个文件

JasonXuDeveloper commented 1 year ago

新版用到了大量ref struct,ILRuntime无法支持,所以无法继续兼容ILRuntime