summaryrefslogtreecommitdiff
path: root/tests/src/Interop/MarshalAPI/FunctionPointer/GetFcnPtrForDel_Negative_Catchable.cs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/src/Interop/MarshalAPI/FunctionPointer/GetFcnPtrForDel_Negative_Catchable.cs')
-rw-r--r--tests/src/Interop/MarshalAPI/FunctionPointer/GetFcnPtrForDel_Negative_Catchable.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/src/Interop/MarshalAPI/FunctionPointer/GetFcnPtrForDel_Negative_Catchable.cs b/tests/src/Interop/MarshalAPI/FunctionPointer/GetFcnPtrForDel_Negative_Catchable.cs
index b33ea4c70c..e4b5c2dbff 100644
--- a/tests/src/Interop/MarshalAPI/FunctionPointer/GetFcnPtrForDel_Negative_Catchable.cs
+++ b/tests/src/Interop/MarshalAPI/FunctionPointer/GetFcnPtrForDel_Negative_Catchable.cs
@@ -6,7 +6,7 @@ using System.Security;
using System.Threading;
using System.Globalization;
using System.Runtime.InteropServices;
-
+#pragma warning disable 618
public partial class FunctionPtr
{
delegate void VoidDelegate();
@@ -39,4 +39,5 @@ public partial class FunctionPtr
return retVal;
}
-} \ No newline at end of file
+}
+#pragma warning restore 618 \ No newline at end of file