Skip to content

Commit

Permalink
v3.0: Deprecate generic Yielder<T>
Browse files Browse the repository at this point in the history
  • Loading branch information
andreise committed Jan 16, 2025
1 parent 48d106f commit 41760ff
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
using System;

namespace PrimeFuncPack.Primitives.Tests;

[Obsolete]
public sealed partial class YielderTypedTest
{
}

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

namespace System.Linq;

// TODO: Remove this class in v4.0
[Obsolete("This class is obsolete. Use Yielder class instead.", error: true)]
public static class Yielder<T>
{
public static IEnumerable<T> YieldSingle(T value)
Expand Down

0 comments on commit 41760ff

Please sign in to comment.