diff options
Diffstat (limited to 'tests/src/Interop/MarshalAPI/FunctionPointer/GetDelForFcnPtr_Negative_Catchable.cs')
-rw-r--r-- | tests/src/Interop/MarshalAPI/FunctionPointer/GetDelForFcnPtr_Negative_Catchable.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/src/Interop/MarshalAPI/FunctionPointer/GetDelForFcnPtr_Negative_Catchable.cs b/tests/src/Interop/MarshalAPI/FunctionPointer/GetDelForFcnPtr_Negative_Catchable.cs index c9d96ee623..9fddac1785 100644 --- a/tests/src/Interop/MarshalAPI/FunctionPointer/GetDelForFcnPtr_Negative_Catchable.cs +++ b/tests/src/Interop/MarshalAPI/FunctionPointer/GetDelForFcnPtr_Negative_Catchable.cs @@ -6,6 +6,7 @@ using System.Security; using System.Threading; using System.Globalization; using System.Runtime.InteropServices; +#pragma warning disable 618 public partial class FunctionPtr { @@ -88,3 +89,4 @@ public partial class FunctionPtr Console.WriteLine("Simple method to get a delegate for"); } } +#pragma warning restore 618
\ No newline at end of file |