From 9803c9e74f64dd3783676ad6cd88a52801996b63 Mon Sep 17 00:00:00 2001 From: Oliver Booth Date: Thu, 14 Nov 2024 18:33:10 +0000 Subject: [PATCH] refactor!: remove SpanSplitEnumerator for >= net9.0 --- X10D/src/Collections/SpanSplitEnumerator.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/X10D/src/Collections/SpanSplitEnumerator.cs b/X10D/src/Collections/SpanSplitEnumerator.cs index 1bd1c9515..1adab2b7d 100644 --- a/X10D/src/Collections/SpanSplitEnumerator.cs +++ b/X10D/src/Collections/SpanSplitEnumerator.cs @@ -1,3 +1,4 @@ +#if !NET9_0_OR_GREATER namespace X10D.Collections; /// @@ -85,3 +86,4 @@ public bool MoveNext() return true; } } +#endif