ScriptableRenderFeature: RenderQueueRange property does not display in the inspector - why?

I have a ScriptableRenderFeature.
This is a piece of code of it:

    [System.Serializable]
    public class SelectiveDepthPassSettings
    {
        public RenderPassEvent renderPassEvent = RenderPassEvent.AfterRenderingPrePasses;
        public RenderQueueRange renderQueueRange = RenderQueueRange.all;
        public Shader shader;
    }
    public SelectiveDepthPassSettings selectiveDepthPassSettings;

    [System.Serializable]
    public class SelectiveDepthNormalsPassSettings
    {
        [field: ReadOnly]
        public bool enabled = false;
        public RenderPassEvent renderPassEvent = RenderPassEvent.AfterRenderingTransparents;
        public RenderQueueRange renderQueueRange = RenderQueueRange.all;
        public Shader shader;
    }
    public SelectiveDepthNormalsPassSettings selectiveDepthNormalsPassSettings;

And this is how it displays in the inspector:
9815067--1410171--RenderQueueRange.png

The RenderQueueRange property doesn’t show up on this.

I have tried a number of recent versions of Unity, ranging between 2021 and latest beta and the RenderQueueRange property doesn’t display in any of them.