diff options
author | Marek Safar <marek.safar@gmail.com> | 2016-09-30 13:08:33 +0300 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2016-09-30 13:09:02 +0300 |
commit | f460c9bb83658ccc6bd3caf958d82bd58a67b6a4 (patch) | |
tree | 3a7e23fd21833f75b50d27f2a098d78995db31c8 /mcs/class/dlr | |
parent | 225ea9235f8702fac835968169ab369892c7d1e2 (diff) |
[System.Core] Cleanup more warnings
Diffstat (limited to 'mcs/class/dlr')
-rw-r--r-- | mcs/class/dlr/Runtime/Microsoft.Scripting.Core/Compiler/DelegateHelpers.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mcs/class/dlr/Runtime/Microsoft.Scripting.Core/Compiler/DelegateHelpers.cs b/mcs/class/dlr/Runtime/Microsoft.Scripting.Core/Compiler/DelegateHelpers.cs index a2e5ca0a4c1..3489ee15514 100644 --- a/mcs/class/dlr/Runtime/Microsoft.Scripting.Core/Compiler/DelegateHelpers.cs +++ b/mcs/class/dlr/Runtime/Microsoft.Scripting.Core/Compiler/DelegateHelpers.cs @@ -29,7 +29,9 @@ namespace System.Linq.Expressions.Compiler { private const MethodAttributes CtorAttributes = MethodAttributes.RTSpecialName | MethodAttributes.HideBySig | MethodAttributes.Public; private const MethodImplAttributes ImplAttributes = MethodImplAttributes.Runtime | MethodImplAttributes.Managed; private const MethodAttributes InvokeAttributes = MethodAttributes.Public | MethodAttributes.HideBySig | MethodAttributes.NewSlot | MethodAttributes.Virtual; +#if FEATURE_REFEMIT private static readonly Type[] _DelegateCtorSignature = new Type[] { typeof(object), typeof(IntPtr) }; +#endif private static Type MakeNewCustomDelegate(Type[] types) { #if FEATURE_REFEMIT |