blakepell / AvalonMudClient

A Windows MUD client written in C#/WPF for .NET 8.
Other
31 stars 7 forks source link

SafeIndexOf/IndexOf Extensions for ReadOnlySpan<char> #15

Closed blakepell closed 4 years ago

blakepell commented 4 years ago

When the new Argus.Core version is released remove these and replace the calls with the Argus.Core versions (which are identical):

public static int SafeIndexOf(this ReadOnlySpan<char> span, ReadOnlySpan<char> value, int startIndex)
public static int IndexOf(this ReadOnlySpan<char> span, ReadOnlySpan<char> value, int startIndex)