From 3c812d8a93de8c58837e50e7330b762264ed4159 Mon Sep 17 00:00:00 2001 From: Jb Evain Date: Fri, 15 Apr 2011 14:11:27 +0200 Subject: [PATCH] Remove warnings --- mcs/class/corlib/System.Reflection.Emit/DynamicMethod.cs | 4 ++-- mcs/class/corlib/System/TypedReference.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mcs/class/corlib/System.Reflection.Emit/DynamicMethod.cs b/mcs/class/corlib/System.Reflection.Emit/DynamicMethod.cs index 5d4bda20252..b4b3626484f 100644 --- a/mcs/class/corlib/System.Reflection.Emit/DynamicMethod.cs +++ b/mcs/class/corlib/System.Reflection.Emit/DynamicMethod.cs @@ -44,7 +44,7 @@ namespace System.Reflection.Emit { [ComVisible (true)] public sealed class DynamicMethod : MethodInfo { -#pragma warning disable 169, 414 +#pragma warning disable 169, 414, 649 #region Sync with reflection.h private RuntimeMethodHandle mhandle; private string name; @@ -61,7 +61,7 @@ namespace System.Reflection.Emit { private IntPtr referenced_by; private Type owner; #endregion -#pragma warning restore 169, 414 +#pragma warning restore 169, 414, 649 private Delegate deleg; private MonoMethod method; diff --git a/mcs/class/corlib/System/TypedReference.cs b/mcs/class/corlib/System/TypedReference.cs index 58110ca2883..6e10c5c260e 100644 --- a/mcs/class/corlib/System/TypedReference.cs +++ b/mcs/class/corlib/System/TypedReference.cs @@ -39,11 +39,11 @@ namespace System [ComVisible (true)] public struct TypedReference { -#pragma warning disable 169 +#pragma warning disable 169, 649 RuntimeTypeHandle type; IntPtr value; IntPtr klass; -#pragma warning restore 169 +#pragma warning restore 169, 649 public override bool Equals (object o) { -- 2.25.1