Skip to content

Commit

Permalink
v2.1.0 commit
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerBrinkley committed Mar 25, 2017
1 parent ee28f17 commit c80fc0a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
6 changes: 3 additions & 3 deletions Build/build.ps1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
properties {
$zipFileName = "Enums.NET.2.0.0.zip"
$majorVersion = "2.0"
$majorWithReleaseVersion = "2.0.0"
$zipFileName = "Enums.NET.2.1.0.zip"
$majorVersion = "2.1"
$majorWithReleaseVersion = "2.1.0"
$nugetPrelease = $null
$version = GetVersion $majorWithReleaseVersion
$packageId = "Enums.NET"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ I'm trying to integrate my improvements into [corefx](https://github.com/dotnet/
1. Most of its static methods are non-generic which make them a pain to use and cause poor performance.
2. Most of its methods use reflection on each call without any sort of caching causing poor performance.
3. Its support for flag enum operations is extremely limited. The only flag enum method on `System.Enum` is the `HasFlag` method which is very slow, is not type-safe, and is ambiguous as to whether it determines if the value has all or any of the specified flags. It's all by the way.
4. It has no built-in support for retrieval of `Attribute`s applied to enum members which is a common practice for retrieval of the `DescriptionAttribute` or `EnumMemberAttribute`.
4. It has no built-in support for retrieval of `Attribute`s applied to enum members which is a common practice for retrieval of the `DescriptionAttribute`, `EnumMemberAttribute`, and `DisplayAttribute`.

Enums.NET solves all of these issues and more.

Expand Down
2 changes: 1 addition & 1 deletion Src/Enums.NET.Tests/EnumsTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -921,7 +921,7 @@ public void GetUnderlyingValue_ReturnsExpected_OnAny()
Assert.AreEqual(false, GetUnderlyingValue(BooleanEnum.No));
Assert.AreEqual('b', GetUnderlyingValue(CharEnum.B));
}
#endregion
#endregion

#region Defined Values Main Methods
[Test]
Expand Down
1 change: 0 additions & 1 deletion Src/Enums.NET/EnumCache.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
using EnumsNET.Numerics;
using System.Runtime.CompilerServices;


#if ENUM_MEMBER_ATTRIBUTE
using System.Runtime.Serialization;
#endif
Expand Down

0 comments on commit c80fc0a

Please sign in to comment.