Skip to content

Commit

Permalink
Версия C# понижена до 7.2 из-за ограничений на сервере
Browse files Browse the repository at this point in the history
  • Loading branch information
voidmain02 committed Jul 30, 2019
1 parent 506f496 commit aa252d4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions MiniAiCup.Paperio.Client/MiniAiCup.Paperio.Client.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<LangVersion>7.2</LangVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
Expand Down
2 changes: 1 addition & 1 deletion MiniAiCup.Paperio.Core/EnumValues.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ namespace MiniAiCup.Paperio.Core
{
public static class EnumValues
{
public static T[] GetAll<T>() where T : Enum
public static T[] GetAll<T>() where T : struct, IConvertible
{
return AllEnumValuesArray<T>.Instance;
}
Expand Down
1 change: 1 addition & 0 deletions MiniAiCup.Paperio.Core/MiniAiCup.Paperio.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<LangVersion>7.2</LangVersion>
</PropertyGroup>

</Project>

0 comments on commit aa252d4

Please sign in to comment.