Skip to content

Commit

Permalink
v3.0.2 commit
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerBrinkley committed Dec 6, 2019
1 parent df04699 commit 54fc94f
Show file tree
Hide file tree
Showing 15 changed files with 26 additions and 12 deletions.
6 changes: 3 additions & 3 deletions Src/Enums.NET.Analyzer.Test/Enums.NET.Analyzer.Test.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="2.9.6">
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="2.9.8">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="3.3.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.3.0" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="3.4.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.4.0" />
<PackageReference Include="MSTest.TestAdapter" Version="2.0.0" />
<PackageReference Include="MSTest.TestFramework" Version="2.0.0" />
</ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion Src/Enums.NET.Analyzer/Enums.NET.Analyzer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="2.9.6" PrivateAssets="all" />
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="2.9.8" PrivateAssets="all" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="2.10.0" />
<PackageReference Update="NETStandard.Library" PrivateAssets="all" />
</ItemGroup>
Expand Down
2 changes: 2 additions & 0 deletions Src/Enums.NET.PerfTestConsole/DictionaryBenchmarks.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
using System;
using System.Collections.Generic;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Jobs;

namespace EnumsNET.PerfTestConsole
{
[SimpleJob(RuntimeMoniker.Net48), SimpleJob(RuntimeMoniker.NetCoreApp30)]
public class DictionaryBenchmarks
{
private readonly Dictionary<Type, string> _typeDictionary;
Expand Down
2 changes: 2 additions & 0 deletions Src/Enums.NET.PerfTestConsole/GetHashCodeBenchmarks.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,11 @@

using System;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Jobs;

namespace EnumsNET.Tests.Benchmarks
{
[SimpleJob(RuntimeMoniker.Net48), SimpleJob(RuntimeMoniker.NetCoreApp30)]
public class GetHashCodeBenchmarks
{
private readonly DayOfWeek[] _values;
Expand Down
2 changes: 2 additions & 0 deletions Src/Enums.NET.PerfTestConsole/HasFlagBenchmarks.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,11 @@

using System;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Jobs;

namespace EnumsNET.Tests.Benchmarks
{
[SimpleJob(RuntimeMoniker.Net48), SimpleJob(RuntimeMoniker.NetCoreApp30)]
public class HasFlagBenchmarks
{
private readonly AttributeTargets[] _attributeTargets;
Expand Down
2 changes: 2 additions & 0 deletions Src/Enums.NET.PerfTestConsole/InRangeBenchmarks.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Jobs;

namespace EnumsNET.PerfTestConsole
{
[SimpleJob(RuntimeMoniker.Net48), SimpleJob(RuntimeMoniker.NetCoreApp30)]
public class InRangeBenchmarks
{
[Benchmark]
Expand Down
2 changes: 2 additions & 0 deletions Src/Enums.NET.PerfTestConsole/IsDefinedBenchmarks.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,11 @@

using System;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Jobs;

namespace EnumsNET.Tests.Benchmarks
{
[SimpleJob(RuntimeMoniker.Net48), SimpleJob(RuntimeMoniker.NetCoreApp30)]
public class IsDefinedBenchmarks
{
private readonly DayOfWeek[] _values;
Expand Down
2 changes: 2 additions & 0 deletions Src/Enums.NET.PerfTestConsole/ParseBenchmarks.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
using System.Linq;
using System.Reflection;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Jobs;

namespace EnumsNET.Tests.Benchmarks
{
Expand Down Expand Up @@ -60,6 +61,7 @@ internal sealed class FastEnumParser<TEnum> : Parser
public override void Parse(string value) => FastEnumUtility.FastEnum.Parse<TEnum>(value);
}

[SimpleJob(RuntimeMoniker.Net48), SimpleJob(RuntimeMoniker.NetCoreApp30)]
public class ParseNamesBenchmarks
{
private class EnumData
Expand Down
2 changes: 2 additions & 0 deletions Src/Enums.NET.PerfTestConsole/ToStringBenchmarks.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,11 @@

using System;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Jobs;

namespace EnumsNET.Tests.Benchmarks
{
[SimpleJob(RuntimeMoniker.Net48), SimpleJob(RuntimeMoniker.NetCoreApp30)]
public class ToStringBenchmarks
{
private readonly DayOfWeek[] _values;
Expand Down
2 changes: 1 addition & 1 deletion Src/Enums.NET.Test/Enums.NET.Test.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.2.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.4.0" />
<PackageReference Include="NUnit" Version="3.12.0" />
<PackageReference Include="NUnit3TestAdapter" Version="3.15.1" />
<ProjectReference Include="..\Enums.NET.TestEnums\Enums.NET.TestEnums.csproj" />
Expand Down
2 changes: 1 addition & 1 deletion Src/Enums.NET.TestEnums/Enums.NET.TestEnums.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Fody" Version="6.0.3" PrivateAssets="All" />
<PackageReference Include="Fody" Version="6.0.5" PrivateAssets="All" />
<ProjectReference Include="..\Enums.NET\Enums.NET.csproj" />
<WeaverFiles Include="$(SolutionDir)Weavers\bin\$(Configuration)\netstandard2.0\Weavers.dll" WeaverClassNames="EnumUnderlyingTypeChanger" />
<Folder Include="Properties\" />
Expand Down
10 changes: 5 additions & 5 deletions Src/Enums.NET/Enums.NET.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
<PropertyGroup>
<TargetFrameworks>net45;netcoreapp3.0;netstandard2.1;netstandard2.0;netstandard1.3;netstandard1.1;netstandard1.0</TargetFrameworks>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<FileVersion>3.0.1</FileVersion>
<VersionPrefix>3.0.1</VersionPrefix>
<FileVersion>3.0.2</FileVersion>
<VersionPrefix>3.0.2</VersionPrefix>
<VersionSufix></VersionSufix>
<PackageVersion>3.0.1</PackageVersion>
<PackageVersion>3.0.2</PackageVersion>
<GeneratePackageOnBuild>False</GeneratePackageOnBuild>
<Authors>Tyler Brinkley</Authors>
<Description>Enums.NET is a high-performance type-safe .NET enum utility library</Description>
Expand All @@ -29,12 +29,12 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0-beta2-19367-01" PrivateAssets="All" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net45'">
<Reference Include="System.ComponentModel.DataAnnotations" />
<PackageReference Include="Fody" Version="6.0.3" PrivateAssets="All" />
<PackageReference Include="Fody" Version="6.0.5" PrivateAssets="All" />
<WeaverFiles Include="$(SolutionDir)Weavers\bin\$(Configuration)\netstandard2.0\Weavers.dll" WeaverClassNames="UnsafeUtilityWeaver" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' != 'netcoreapp3.0' AND '$(TargetFramework)' != 'net45'">
Expand Down
2 changes: 1 addition & 1 deletion Src/Weavers/Weavers.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
<ProduceReferenceAssembly>true</ProduceReferenceAssembly>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="FodyHelpers" Version="6.0.3" />
<PackageReference Include="FodyHelpers" Version="6.0.5" />
</ItemGroup>
</Project>
Binary file modified performance.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified performance.xlsx
Binary file not shown.

0 comments on commit 54fc94f

Please sign in to comment.