public static void ToArrayEmpty() { Span<int> span = Span<int>.Empty; int[] copy = span.ToArray(); Assert.Equal(0, copy.Length); } }