public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
                    break;

                case 8: {
                    Value = input.ReadSInt64();
                    break;
                }

                case 16: {
                    Scale = (global::ProtoBuf.Bcl.DateTime.Types.TimeSpanScale)input.ReadEnum();
                    break;
                }

                case 24: {
                    Kind = (global::ProtoBuf.Bcl.DateTime.Types.DateTimeKind)input.ReadEnum();
                    break;
                }
                }
            }
        }
 public void MergeFrom(DateTime other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Value != 0L)
     {
         Value = other.Value;
     }
     if (other.Scale != 0)
     {
         Scale = other.Scale;
     }
     if (other.Kind != 0)
     {
         Kind = other.Kind;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }