Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 686CE200C0E for ; Tue, 27 Dec 2016 13:01:06 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 674E8160B23; Tue, 27 Dec 2016 12:01:06 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id A9092160B3D for ; Tue, 27 Dec 2016 13:01:05 +0100 (CET) Received: (qmail 68347 invoked by uid 500); 27 Dec 2016 12:01:04 -0000 Mailing-List: contact dev-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list dev@ignite.apache.org Received: (qmail 68245 invoked by uid 99); 27 Dec 2016 12:01:04 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Dec 2016 12:01:04 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 98F5A2C022B for ; Tue, 27 Dec 2016 12:01:04 +0000 (UTC) Date: Tue, 27 Dec 2016 12:01:04 +0000 (UTC) From: "Pavel Tupitsyn (JIRA)" To: dev@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (IGNITE-4500) .NET: Support identity resolver for binary enums MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 27 Dec 2016 12:01:06 -0000 Pavel Tupitsyn created IGNITE-4500: -------------------------------------- Summary: .NET: Support identity resolver for binary enums Key: IGNITE-4500 URL: https://issues.apache.org/jira/browse/IGNITE-4500 Project: Ignite Issue Type: Improvement Components: platforms Reporter: Pavel Tupitsyn Fix For: 2.0 Enums are a special case when it comes to binary objects. They are written as [int typeId, int value] and do not include hash code. However, if user sets a custom identity resolver vi {{BinaryTypeConfiguration.EqualityComparer}}, he may expect it to be used when {{GetHashCode}} and {{Equals}} are called in binary form. Investigate whether this is a right approach, add enum support to predefined identity resolvers. -- This message was sent by Atlassian JIRA (v6.3.4#6332)