signature fixes
[mono.git] / mcs / class / System.Core / System / TimeZoneInfo.TransitionTime.cs
index c11807bfe31d142e3c7dede64262350028a77d48..491a07b61dbf15558c3654257ca8d5028471b0af 100644 (file)
@@ -24,7 +24,7 @@
  * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  */
 
-#if (INSIDE_CORLIB && NET_4_0) || (NET_3_5 && !NET_4_0)
+#if (INSIDE_CORLIB && (NET_4_0 || BOOTSTRAP_NET_4_0)) || (NET_2_1 && !INSIDE_CORLIB) || (NET_3_5 && !NET_4_0 && !BOOTSTRAP_NET_4_0)
 
 using System.Runtime.Serialization;
 
@@ -177,7 +177,12 @@ namespace System
                                return !(t1 == t2);
                        }
 
+
+#if NET_4_0
+                       void ISerializable.GetObjectData (SerializationInfo info, StreamingContext context)
+#else
                        public void GetObjectData (SerializationInfo info, StreamingContext context)
+#endif
                        {
                                throw new NotImplementedException ();
                        }
@@ -199,7 +204,11 @@ namespace System
                                return (day ^ (int)dayOfWeek ^ month ^ (int)timeOfDay.Ticks ^ week);
                        }
 
+#if NET_4_0
+                       void IDeserializationCallback.OnDeserialization (object sender)
+#else
                        public void OnDeserialization (object sender)
+#endif
                        {
                                throw new NotImplementedException ();
                        }