summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJeremy Koritzinsky <jkoritzinsky@gmail.com>2019-01-08 14:50:42 -0800
committerGitHub <noreply@github.com>2019-01-08 14:50:42 -0800
commit41dfe19d1ffe00edfdaa837a3b46aea5a8036617 (patch)
treea93deb907765936a0067554120664396bcc3f2cb /tests
parentf27337157392bbafd0cf69835d7ec3045a1dc08b (diff)
downloadcoreclr-41dfe19d1ffe00edfdaa837a3b46aea5a8036617.tar.gz
coreclr-41dfe19d1ffe00edfdaa837a3b46aea5a8036617.tar.bz2
coreclr-41dfe19d1ffe00edfdaa837a3b46aea5a8036617.zip
Extract cleanup changes from #21793. (#21852)
* Cleanup changes from #21793. * Emit the data pointer offset directly into the IL stream (and calculate it as needed instead of passing it through) * Fix broken assumption that OverrideProcArgs::na::m_pMT is the array type instead of the element type (which it was).
Diffstat (limited to 'tests')
-rw-r--r--tests/src/Interop/PInvoke/Array/MarshalArrayAsParam/AsDefault/AsDefaultTest.cs2
-rw-r--r--tests/src/Interop/PInvoke/Array/MarshalArrayAsParam/AsLPArray/AsLPArrayTest.cs2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/src/Interop/PInvoke/Array/MarshalArrayAsParam/AsDefault/AsDefaultTest.cs b/tests/src/Interop/PInvoke/Array/MarshalArrayAsParam/AsDefault/AsDefaultTest.cs
index 1297c879fb..5cdeea58e0 100644
--- a/tests/src/Interop/PInvoke/Array/MarshalArrayAsParam/AsDefault/AsDefaultTest.cs
+++ b/tests/src/Interop/PInvoke/Array/MarshalArrayAsParam/AsDefault/AsDefaultTest.cs
@@ -633,7 +633,7 @@ public class ArrayMarshal
}
catch (Exception e)
{
- Console.WriteLine($"\nTEST FAIL: {e.Message}");
+ Console.WriteLine($"\nTEST FAIL: {e}");
return 101;
}
}
diff --git a/tests/src/Interop/PInvoke/Array/MarshalArrayAsParam/AsLPArray/AsLPArrayTest.cs b/tests/src/Interop/PInvoke/Array/MarshalArrayAsParam/AsLPArray/AsLPArrayTest.cs
index e78ce2e09f..865c9e380a 100644
--- a/tests/src/Interop/PInvoke/Array/MarshalArrayAsParam/AsLPArray/AsLPArrayTest.cs
+++ b/tests/src/Interop/PInvoke/Array/MarshalArrayAsParam/AsLPArray/AsLPArrayTest.cs
@@ -643,7 +643,7 @@ public class ArrayMarshal
}
catch (Exception e)
{
- Console.WriteLine($"\nTEST FAIL: {e.Message}");
+ Console.WriteLine($"\nTEST FAIL: {e}");
return 101;
}
}