Remove warnings
authorJb Evain <jbevain@gmail.com>
Fri, 15 Apr 2011 12:11:27 +0000 (14:11 +0200)
committerJb Evain <jbevain@gmail.com>
Fri, 15 Apr 2011 12:11:27 +0000 (14:11 +0200)
mcs/class/corlib/System.Reflection.Emit/DynamicMethod.cs
mcs/class/corlib/System/TypedReference.cs

index 5d4bda20252c4df3103c26a20914780a4f4beff9..b4b3626484fc0c9225572a5b6a7306e80a372d4f 100644 (file)
@@ -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;
index 58110ca2883eb226a6a31b8b4d56d5655ded1e2a..6e10c5c260e1a7c320912c2bd5f66cd69d783b78 100644 (file)
@@ -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)
                {