ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Tupitsyn (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (IGNITE-5207) .NET: Non-Int32 enums can't be serialized
Date Fri, 12 May 2017 11:25:04 GMT

     [ https://issues.apache.org/jira/browse/IGNITE-5207?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Pavel Tupitsyn resolved IGNITE-5207.
------------------------------------
    Resolution: Fixed

> .NET: Non-Int32 enums can't be serialized
> -----------------------------------------
>
>                 Key: IGNITE-5207
>                 URL: https://issues.apache.org/jira/browse/IGNITE-5207
>             Project: Ignite
>          Issue Type: Bug
>          Components: platforms
>    Affects Versions: 2.0
>            Reporter: Pavel Tupitsyn
>            Assignee: Pavel Tupitsyn
>              Labels: .NET
>             Fix For: 2.1
>
>
> There is no way to serialize non-Int32 enums. 
> Enums in .NET can be {{byte}}, {{sbyte}}, {{short}}, {{ushort}}, {{int}}, {{uint}}, {{long}},
{{ulong}} (see https://docs.microsoft.com/en-us/dotnet/articles/csharp/language-reference/keywords/enum).
> We should write all of these except {{long}} and {{ulong}} properly (converting them
to int and back).
> {{long}} and {{ulong}} enums should be written as object.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message