All earnings accruing on any investments or deposits made by the County Treasurer whether acting as such or as County Collector, of county monies as in Section 3-11001 is defined, shall be credited to and paid into the County Treasury for the benefit of the county corporate fund to be used for county purposes, except as provided otherwise in the Local Governmental Tax Collection Act, and except where by specific statutory provisions such earnings are directed to be credited to and paid to a particular fund.
55 ILCS 5/3-11005