Skip to content

Commit

Permalink
Merge pull request #20 from pfpack/release/v1.2.0-rc.1.0.0
Browse files Browse the repository at this point in the history
release/v1.2.0-rc.1.0.0
  • Loading branch information
pmosk authored Aug 17, 2021
2 parents db70d85 + b1f8905 commit 655b807
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/primitives/Primitives.Tests/Primitives.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<PackageReference Include="NUnit" Version="3.13.2" />
<PackageReference Include="NUnit3TestAdapter" Version="4.0.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.11.0" />
<PackageReference Include="PrimeFuncPack.Primitives" Version="1.2.0-preview.1.0.0" />
<PackageReference Include="PrimeFuncPack.Primitives" Version="1.2.0-rc.1.0.0" />
<PackageReference Include="PrimeFuncPack.UnitTest.Data" Version="2.0.6" />
</ItemGroup>

Expand Down
13 changes: 6 additions & 7 deletions src/primitives/Primitives/Linq/Yielder.cs
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
#nullable enable

using System.Collections.Generic;
using System.Runtime.CompilerServices;

namespace System.Linq
{
public static class Yielder
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static IEnumerable<T> YieldSingle<T>(T value)
=>
Yielder<T>.YieldSingle(value);
{
yield return value;
}

[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static IEnumerable<T> YieldEmpty<T>()
=>
Yielder<T>.YieldEmpty();
{
yield break;
}
}
}
2 changes: 1 addition & 1 deletion src/primitives/Primitives/Primitives.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<Copyright>Copyright © 2020-2021 Andrei Sergeev, Pavel Moskovoy</Copyright>
<RootNamespace>System</RootNamespace>
<AssemblyName>PrimeFuncPack.Primitives</AssemblyName>
<Version>1.2.0-preview.1.0.0</Version>
<Version>1.2.0-rc.1.0.0</Version>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit 655b807

Please sign in to comment.