diff options
Diffstat (limited to 'test/Mono.Linker.Tests.Cases/DataFlow/MethodParametersDataFlow.cs')
-rw-r--r-- | test/Mono.Linker.Tests.Cases/DataFlow/MethodParametersDataFlow.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Mono.Linker.Tests.Cases/DataFlow/MethodParametersDataFlow.cs b/test/Mono.Linker.Tests.Cases/DataFlow/MethodParametersDataFlow.cs index 2897c4705..fe11b6b03 100644 --- a/test/Mono.Linker.Tests.Cases/DataFlow/MethodParametersDataFlow.cs +++ b/test/Mono.Linker.Tests.Cases/DataFlow/MethodParametersDataFlow.cs @@ -161,7 +161,12 @@ namespace Mono.Linker.Tests.Cases.DataFlow { var array = new object[1]; array[0] = this.GetType (); + MakeArrayValuesUnknown (array); RequirePublicParameterlessConstructor ((Type) array[0]); + + static void MakeArrayValuesUnknown (object[] array) + { + } } [RecognizedReflectionAccessPattern] |