From aa252d4ae7fccd2cb958a5b353c33a3917ad698c Mon Sep 17 00:00:00 2001 From: Alexander Zheltov Date: Tue, 30 Jul 2019 20:48:07 +0500 Subject: [PATCH] =?UTF-8?q?=D0=92=D0=B5=D1=80=D1=81=D0=B8=D1=8F=20C#=20?= =?UTF-8?q?=D0=BF=D0=BE=D0=BD=D0=B8=D0=B6=D0=B5=D0=BD=D0=B0=20=D0=B4=D0=BE?= =?UTF-8?q?=207.2=20=D0=B8=D0=B7-=D0=B7=D0=B0=20=D0=BE=D0=B3=D1=80=D0=B0?= =?UTF-8?q?=D0=BD=D0=B8=D1=87=D0=B5=D0=BD=D0=B8=D0=B9=20=D0=BD=D0=B0=20?= =?UTF-8?q?=D1=81=D0=B5=D1=80=D0=B2=D0=B5=D1=80=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- MiniAiCup.Paperio.Client/MiniAiCup.Paperio.Client.csproj | 1 + MiniAiCup.Paperio.Core/EnumValues.cs | 2 +- MiniAiCup.Paperio.Core/MiniAiCup.Paperio.Core.csproj | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/MiniAiCup.Paperio.Client/MiniAiCup.Paperio.Client.csproj b/MiniAiCup.Paperio.Client/MiniAiCup.Paperio.Client.csproj index 6961c82..2b0271a 100644 --- a/MiniAiCup.Paperio.Client/MiniAiCup.Paperio.Client.csproj +++ b/MiniAiCup.Paperio.Client/MiniAiCup.Paperio.Client.csproj @@ -22,6 +22,7 @@ DEBUG;TRACE prompt 4 + 7.2 AnyCPU diff --git a/MiniAiCup.Paperio.Core/EnumValues.cs b/MiniAiCup.Paperio.Core/EnumValues.cs index 86d5a11..38e96e8 100644 --- a/MiniAiCup.Paperio.Core/EnumValues.cs +++ b/MiniAiCup.Paperio.Core/EnumValues.cs @@ -4,7 +4,7 @@ namespace MiniAiCup.Paperio.Core { public static class EnumValues { - public static T[] GetAll() where T : Enum + public static T[] GetAll() where T : struct, IConvertible { return AllEnumValuesArray.Instance; } diff --git a/MiniAiCup.Paperio.Core/MiniAiCup.Paperio.Core.csproj b/MiniAiCup.Paperio.Core/MiniAiCup.Paperio.Core.csproj index 9f5c4f4..37d1f5c 100644 --- a/MiniAiCup.Paperio.Core/MiniAiCup.Paperio.Core.csproj +++ b/MiniAiCup.Paperio.Core/MiniAiCup.Paperio.Core.csproj @@ -2,6 +2,7 @@ netstandard2.0 + 7.2