From: Stephen Toub Date: Fri, 20 Jul 2018 02:37:26 +0000 (-0700) Subject: Fix netfx test failure X-Git-Tag: submit/tizen/20210909.063632~11031^2~3912^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a97d3e4d6719e08c137bfe508abc3c1de444031b;p=platform%2Fupstream%2Fdotnet%2Fruntime.git Fix netfx test failure Commit migrated from https://github.com/dotnet/corefx/commit/1e7d4d88f2c3d4e6dacb5c58ad7fed721d506654 --- diff --git a/src/libraries/System.Runtime.InteropServices/tests/System/Runtime/InteropServices/Marshal/PrelinkTests.cs b/src/libraries/System.Runtime.InteropServices/tests/System/Runtime/InteropServices/Marshal/PrelinkTests.cs index 0effdb2..ffd12de 100644 --- a/src/libraries/System.Runtime.InteropServices/tests/System/Runtime/InteropServices/Marshal/PrelinkTests.cs +++ b/src/libraries/System.Runtime.InteropServices/tests/System/Runtime/InteropServices/Marshal/PrelinkTests.cs @@ -36,7 +36,7 @@ namespace System.Runtime.InteropServices.Tests [Fact] public void Prelink_NonRuntimeMethod_ThrowsArgumentException() { - AssertExtensions.Throws("m", () => Marshal.Prelink(new NonRuntimeMethodInfo())); + AssertExtensions.Throws("m", null, () => Marshal.Prelink(new NonRuntimeMethodInfo())); } public class NonRuntimeMethodInfo : MethodInfo