diff --git a/src/primitives/Primitives.Tests/Primitives.Tests.csproj b/src/primitives/Primitives.Tests/Primitives.Tests.csproj
index 170e15b..b6808db 100644
--- a/src/primitives/Primitives.Tests/Primitives.Tests.csproj
+++ b/src/primitives/Primitives.Tests/Primitives.Tests.csproj
@@ -15,7 +15,7 @@
-
+
diff --git a/src/primitives/Primitives/Linq/Yielder.cs b/src/primitives/Primitives/Linq/Yielder.cs
index d50279c..bc71dd1 100644
--- a/src/primitives/Primitives/Linq/Yielder.cs
+++ b/src/primitives/Primitives/Linq/Yielder.cs
@@ -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 YieldSingle(T value)
- =>
- Yielder.YieldSingle(value);
+ {
+ yield return value;
+ }
- [MethodImpl(MethodImplOptions.AggressiveInlining)]
public static IEnumerable YieldEmpty()
- =>
- Yielder.YieldEmpty();
+ {
+ yield break;
+ }
}
}
diff --git a/src/primitives/Primitives/Primitives.csproj b/src/primitives/Primitives/Primitives.csproj
index c3acda1..413a317 100644
--- a/src/primitives/Primitives/Primitives.csproj
+++ b/src/primitives/Primitives/Primitives.csproj
@@ -11,7 +11,7 @@
Copyright © 2020-2021 Andrei Sergeev, Pavel Moskovoy
System
PrimeFuncPack.Primitives
- 1.2.0-preview.1.0.0
+ 1.2.0-rc.1.0.0