[U#] Create list of UdonBehaviours attached to given GameObject?

I’m trying to make a script that makes a list of each UdonBehaviour attached to a particular object.
I’m getting the error “Can’t convert type ‘UnityEngine.Component’ to ‘VRC.Udon.UdonBehaviour’ (CS0030)”.
This script would work just fine if I was just getting one component rather than multiple (GetComponent(), rather than GetComponents()).
But for some reason, trying to get multiple components and putting them in a list breaks it.