This repository was archived by the owner on May 16, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 252
Why is Structure of Type SizeF not supported ? #128
Copy link
Copy link
Open
Description
Hello,
Readme at (https://github.com/neuecc/ZeroFormatter#built-in-support-types) says
All primitives, All enums,...
Sample Class with attributes
<Serializable(), ZeroFormattable()> Public Class MyCustomType
<Index(0)>
Public Overridable Property Pagesize As SizeF
<Index(1)>
Public Overridable Property ListOfSizeF As List(Of SizeF)
End Class
Why am I geting this Exception ? SizeF is a fairly common Structure. Is there any intention of Supporting common .NET Structure Types Build-in, without manually registering as explained here https://github.com/neuecc/ZeroFormatter#extensibility
Exception thrown: 'System.InvalidOperationException' in ZeroFormatter.dll
System.InvalidOperationException: Type is not supported, occurs invalid error: List`1 InnerException:System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: Type is not supported, occurs invalid error: MyCustomType InnerException:System.InvalidOperationException: Type is not supported, please register SizeF
at ZeroFormatter.Formatters.DynamicObjectDescriptor.VerifyMember(Type resolverType, EmittableMemberInfo info)....
Thank you
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels