Bike in crosswalk: walk or ride?

If legally riding your bicycle on the sidewalk and about to enter the crosswalk,
what to do? Walk it or bike it? As a general rule, unless city ordinance dictates otherwise, if the law
allows you to ride your bicycle on the sidewalk it also allows you to ride it in the crosswalk.
Why? Because when the law allows a bicycle to travel along the sidewalk it extends to its
operator the same rights and duties as a pedestrian.