[bcl] Remove NET_4_0 defines from class libs.
[mono.git] / mcs / class / corlib / System / IntPtr.cs
index 20c06387df145cf27b2ec5500c4ee79f3266d83e..e594d49bbb90907f87642d9eaefbc53af8327b71 100644 (file)
@@ -200,7 +200,6 @@ namespace System
                        return value.m_value;
                }
 
-#if NET_4_0
                [ReliabilityContract (Consistency.MayCorruptInstance, Cer.MayFail)]
                public static IntPtr Add (IntPtr pointer, int offset)
                {
@@ -224,12 +223,5 @@ namespace System
                {
                        return (IntPtr) (unchecked (((byte *) pointer) - offset));
                }
-#else
-               /* Needed by Marshal.cs */
-               internal static IntPtr Add (IntPtr pointer, int offset)
-               {
-                       return (IntPtr) (unchecked (((byte *) pointer) + offset));
-               }
-#endif
        }
 }