diff --git a/src/libraries/System.Runtime/tests/System.Runtime.Tests/System/ArrayTests.cs b/src/libraries/System.Runtime/tests/System.Runtime.Tests/System/ArrayTests.cs index bdf68eada7b3a..1546fad4f40c1 100644 --- a/src/libraries/System.Runtime/tests/System.Runtime.Tests/System/ArrayTests.cs +++ b/src/libraries/System.Runtime/tests/System.Runtime.Tests/System/ArrayTests.cs @@ -1952,6 +1952,8 @@ public void CreateInstance_NotSupportedType_ThrowsNotSupportedException(Type ele [Theory] [InlineData(typeof(void))] [InlineData(typeof(GenericClass<>))] + // not using any by-ref type here as MakeArrayType throws for them, same goes for Type.GetType("SomeByRef[]") + [ActiveIssue("https://github.com/dotnet/runtime/issues/94086", typeof(PlatformDetection), nameof(PlatformDetection.IsMonoRuntime))] public void CreateInstanceFromArrayType_NotSupportedArrayType_ThrowsNotSupportedException(Type elementType) { Assert.Throws(() => Array.CreateInstanceFromArrayType(elementType.MakeArrayType(), 0));