public void AsSpanTest() { using NativeString str = "Hello"; ReadOnlySpan <char> span = str.AsSpan(); Assert.AreEqual(str.ToString(), span.ToString()); }