File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
src/libraries/System.Runtime/tests/System.Runtime.Tests/System Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -1952,6 +1952,8 @@ public void CreateInstance_NotSupportedType_ThrowsNotSupportedException(Type ele
19521952 [ Theory ]
19531953 [ InlineData ( typeof ( void ) ) ]
19541954 [ InlineData ( typeof ( GenericClass < > ) ) ]
1955+ // not using any by-ref type here as MakeArrayType throws for them, same goes for Type.GetType("SomeByRef[]")
1956+ [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/94086" , typeof ( PlatformDetection ) , nameof ( PlatformDetection . IsMonoRuntime ) ) ]
19551957 public void CreateInstanceFromArrayType_NotSupportedArrayType_ThrowsNotSupportedException ( Type elementType )
19561958 {
19571959 Assert . Throws < NotSupportedException > ( ( ) => Array . CreateInstanceFromArrayType ( elementType . MakeArrayType ( ) , 0 ) ) ;
You can’t perform that action at this time.
0 commit comments