diff options
Diffstat (limited to 'tests/src/Interop/PInvoke/ArrayWithOffset/ArrayWithOffsetTest.cs')
-rw-r--r-- | tests/src/Interop/PInvoke/ArrayWithOffset/ArrayWithOffsetTest.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/src/Interop/PInvoke/ArrayWithOffset/ArrayWithOffsetTest.cs b/tests/src/Interop/PInvoke/ArrayWithOffset/ArrayWithOffsetTest.cs index 9f3d91ad9e..66865174c8 100644 --- a/tests/src/Interop/PInvoke/ArrayWithOffset/ArrayWithOffsetTest.cs +++ b/tests/src/Interop/PInvoke/ArrayWithOffset/ArrayWithOffsetTest.cs @@ -42,6 +42,7 @@ unsafe class ArrayWithOffsetTest Assert.Throws<MarshalDirectiveException>(() => ArrayWithOffsetNative.Marshal_Invalid(arrayWithOffset)); Assert.Throws<MarshalDirectiveException>(() => ArrayWithOffsetNative.Marshal_Invalid(ref arrayWithOffset)); + Assert.Throws<MarshalDirectiveException>(() => ArrayWithOffsetNative.Marshal_Invalid_Return()); } catch (Exception e) { |