mirror of
https://github.com/oliverbooth/X10D
synced 2024-11-22 02:58:47 +00:00
refactor!: remove Span<T>.Replace for .NET 8 (#88)
This commit is contained in:
parent
b6b90bf1fd
commit
e2327b5235
@ -46,6 +46,7 @@ TypeInitializationException.
|
||||
|
||||
- X10D: Removed `IEnumerable<T>.ConcatOne` - this functionality already exists with `Append`.
|
||||
- X10D: Removed `Endianness` enum.
|
||||
- X10D: Removed `Span<T>.Replace(T, T)` for .NET 8 target.
|
||||
- X10D: Removed .NET Standard 2.1 target.
|
||||
- X10D.Hosting: Removed .NET Standard 2.1 target.
|
||||
- X10D.DSharpPlus: Complete sunset of library. This library will not be updated to support DSharpPlus v5.0.0 (#83).
|
||||
|
@ -53,6 +53,7 @@ public static class SpanExtensions
|
||||
return source;
|
||||
}
|
||||
|
||||
#if !NET8_0_OR_GREATER
|
||||
/// <summary>
|
||||
/// Replaces all occurrences of a specified element in a span of elements with another specified element.
|
||||
/// </summary>
|
||||
@ -72,6 +73,7 @@ public static class SpanExtensions
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
/// <summary>
|
||||
/// Splits a span of elements into sub-spans based on a delimiting element.
|
||||
|
Loading…
Reference in New Issue
Block a user