Reading UnityEngine.Canvas.renderingDisplaySize crashes the editor

While writing a custom search that interrogates component properties, I discovered that if it queries

UnityEngine.Canvas.renderingDisplaySize

on a World Space canvas with no Event Camera (and maybe no canvas scaler?), you get a hard crash of the editor trying to dereference a null pptr.

still happens on 2021.3.15

and still in 2022.3. In Linux.