diff options
Diffstat (limited to 'tests/src/Interop/MarshalAPI/FunctionPointer/GetFcnPtrForDel_Negative_Security.cs')
-rw-r--r-- | tests/src/Interop/MarshalAPI/FunctionPointer/GetFcnPtrForDel_Negative_Security.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/src/Interop/MarshalAPI/FunctionPointer/GetFcnPtrForDel_Negative_Security.cs b/tests/src/Interop/MarshalAPI/FunctionPointer/GetFcnPtrForDel_Negative_Security.cs index 271b71ca63..3724404d59 100644 --- a/tests/src/Interop/MarshalAPI/FunctionPointer/GetFcnPtrForDel_Negative_Security.cs +++ b/tests/src/Interop/MarshalAPI/FunctionPointer/GetFcnPtrForDel_Negative_Security.cs @@ -4,6 +4,7 @@ using System; using System.Security; using System.Runtime.InteropServices; +#pragma warning disable 618 partial class FunctionPtr { @@ -82,4 +83,5 @@ partial class FunctionPtr if (l != 999999999999) throw new Exception("Failed multicast call"); } -}
\ No newline at end of file +} +#pragma warning restore 618
\ No newline at end of file |