public static void CtorPointerNoContainsReferenceEnforcement()
{
unsafe
{
new Span<int>((void*)null, 0);
new Span<int?>((void*)null, 0);
Assert.Throws<ArgumentException>(() => new Span<object>((void*)null, 0).DontBox());
Assert.Throws<ArgumentException>(() => new Span<StructWithReferences>((void*)null, 0).DontBox());
}
}