SyntheticMethodId.ArrayCtor,
arrayType,
ctorParameters,
- InvokerOptions.AllowNullThis | InvokerOptions.DontWrapException,
+ InvokerOptions.AllowNullThis,
delegate (object _this, object[] args, Type thisType)
{
int[] lengths = new int[rank];
SyntheticMethodId.ArrayCtorJagged + parameterCount,
arrayType,
ctorParameters,
- InvokerOptions.AllowNullThis | InvokerOptions.DontWrapException,
+ InvokerOptions.AllowNullThis,
delegate (object _this, object[] args, Type thisType)
{
int[] lengths = new int[args.Length];
SyntheticMethodId.ArrayMultiDimCtor,
arrayType,
ctorParameters,
- InvokerOptions.AllowNullThis | InvokerOptions.DontWrapException,
+ InvokerOptions.AllowNullThis,
delegate (object _this, object[] args, Type thisType)
{
int[] lengths = new int[rank];
[Fact]
[ActiveIssue("https://github.com/dotnet/runtime/issues/67457", TestRuntimes.Mono)]
- [ActiveIssue("https://github.com/dotnet/runtime/issues/69336", typeof(PlatformDetection), nameof(PlatformDetection.IsNativeAot))]
public void Invoke_OneDimensionalArray_NegativeLengths_ThrowsOverflowException()
{
ConstructorInfo[] constructors = GetConstructors(typeof(object[]));