Is walking through an apartment building parking lot illegal?
I live in Southern Ontario in Canada and lately the weather has been bad here (it's been cold, then warm, then cold; resulting in thick ice all along sidewalks and roads) so today while I was walking my dog I took a shortcut home, I only did this because the road I normally take home is a steep upwards slope and today it was frozen with ice. The shortcut I took is actually cutting across an apartment building parking lot; as I was walking across the parking lot the apartment janitor or supervisor (not sure who he was, he was just shoveling snow around the building) saw me and told me that I was trespassing on private property and if he ever saw me doing it again he would call the cops. My dog did not pee or poop on the apartment building property. So, my first question is: is it actually illegal to walk across the parking lot of an apartment building one does not live in? Because I see people cutting across that parking lot all the time, so could it have been because I had a dog with me that made it illegal to walk there?
My second question is: is it illegal to use the apartment building dumpster if one does not live in the apartment? I ask this because I saw another lady (who also did not live in the apartment) cut across the same apartment building parking lot and she threw some tissues into the apartment dumpster, the janitor/supervisor saw her do so and basically gave her the same threat he gave me.
Are these two things illegal?